Class Wire
java.lang.Object
com.codename1.bluetooth.helper.Wire
The line-delimited JSON codec of the
cn1-ble-helper protocol:
command serialization (with escaping) and event-line parsing via
JSONParser, with Base64-encoded characteristic/descriptor
payloads.-
Method Details
-
obj
-
escape
-
parse
Parses one event line into a map.- Throws:
IOException
-
str
-
longVal
-
intVal
-
boolVal
-
list
-
map
-
encodeBase64
-
decodeBase64
-