Other Parts Discussed in Thread: CC2640, BLE-STACK,
Hi everyone,
I'm working with the CC2640 with custom board and my APP that I created. At this time, I can turn on / off relay via the APP with the passage of UUID functions. I need this information:
1) If I want to read the status of an input (high / low). Do you need a new UUID?
2) Right now I'm using the association via a button on the CC2640 and I'm using this configuration on my code:
uint8_t pairMode = GAPBOND_PAIRING_MODE_INITIATE; uint8_t mitm = TRUE; uint8_t ioCap = GAPBOND_IO_CAP_DISPLAY_YES_NO; uint8_t bonding = FALSE; GAPBondMgr_SetParameter(GAPBOND_DEFAULT_PASSCODE, sizeof(uint32_t), &currVal); GAPBondMgr_SetParameter(GAPBOND_PAIRING_MODE, sizeof(uint8_t), &pairMode); GAPBondMgr_SetParameter(GAPBOND_MITM_PROTECTION, sizeof(uint8_t), &mitm); GAPBondMgr_SetParameter(GAPBOND_IO_CAPABILITIES, sizeof(uint8_t), &ioCap); GAPBondMgr_SetParameter(GAPBOND_BONDING_ENABLED, sizeof(uint8_t), &bonding);
In this moment, I see on my smartphone: "It requested a passkey, do you want to associate with this device?", instead of this message, Can I see this message "Do you want to associate with this device? Click on button of device"
Regards