Package com.codename1.bluetooth.helper


package com.codename1.bluetooth.helper

Shared implementation support for the ports that talk to the native cn1-ble-helper subprocess (JavaSE real-hardware, Win32 and Linux). Not part of the public Bluetooth API -- application code uses com.codename1.bluetooth and its sub packages instead.

HelperBleBackend implements the BLE central protocol over a line-delimited JSON transport, HelperBluetooth/HelperBluetoothLE bridge it onto the core facades, and Wire is the codec. HelperTransport abstracts the subprocess pipe so each port supplies its own launcher -- ProcessBuilder on JavaSE, a native posix_spawn/CreateProcess bridge on the C-translated Win32/Linux ports (NativeSubprocessTransport).