Pixl onWrite can receive one character only from nRF Connect or BLEScanner #4117
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2023-01-06 by @gfwilliams I think you might need to specify a length:
That way you can tell it that it can take more data. Posted at 2023-01-09 by rchateauneu Perfect, many thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2022-12-23 by rchateauneu
This Pixl program advertises a service, treats "onWrite" queries, and write the received character in a loop, every second:
Apparently, it can receive only one character. When sending byte arrays of more than one byte with nRF Connect or BLEScanner, nothing happens. However, when sending one byte only, it is received and correctly displayed.
What do you think, please ?
Beta Was this translation helpful? Give feedback.
All reactions