Getting system messages, "Bad arguments to", while using WIFI and BLE