Text this: One-bit maximum likelihood algorithm for sensor networks in non-ideal channels