Handling of char value #6802
Replies: 1 comment
-
Posted at 2017-12-05 by @gfwilliams So you intend to call Rather than:
You could just use:
However one problem you have is UUIDs can be defined in different ways, eg you do say the ESP32 uses handles though? IMO it would probably be faster/easier to have a separate list of handle vs. value in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-12-05 by JumJum
During porting jswrap_nrf_bluetooth_updateServices to ESP32, I found calls to nrf relevant functions.
ESP32 uses different walks through all of this. Most common point is use of UUIDs and handles.
Searching for a better solution, found this jsvObjectGetChild(execInfo.hiddenRoot,"BLE_SVC_D",0);
Idea now is to move UUIDs and handles to this object to be more general. Value is already there.
For testing of concept, this function was born. In my eyes it looks very complex.
So I've 2 questions:
Beta Was this translation helpful? Give feedback.
All reactions