You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BLE_API / services / URIBeacon2Service.h is missing Characteristic TX Power Mode
This characteristic provides an abstraction. Ideally TX_POWER_MODE_LOWEST should equate to the nRF51822 whisper mode if running on an nRF51822, and lowest mode otherwise.
The text was updated successfully, but these errors were encountered:
You need to validate the value is in range (0..3) before doing this copy: txPowerMode = *reinterpret_cast<const TXPowerModes_t *>(params->data);
Otherwise you will allow unchecked array references.
The kCBMsgArgData field returned might have different data types.
Not sure yet this is due to the conversion in the xpc package or cgo though.
args: map[
kCBMsgArgDescriptorHandle:4
kCBMsgArgData:[0 0]
kCBMsgArgDeviceUUID:d7de53f5a9824c3d80449c28a9543be8
kCBMsgArgResult:0
]
args: map[
kCBMsgArgDeviceUUID:d7de53f5a9824c3d80449c28a9543be8
kCBMsgArgData:Img Identify
kCBMsgArgDescriptorHandle:5
kCBMsgArgResult:0
]
fix issue ARMmbed#8
Hi @rgrover
BLE_API / services / URIBeacon2Service.h
is missing Characteristic TX Power ModeThis characteristic provides an abstraction. Ideally
TX_POWER_MODE_LOWEST
should equate to the nRF51822 whisper mode if running on an nRF51822, and lowest mode otherwise.The text was updated successfully, but these errors were encountered: