dmmontes 0 Posted October 17, 2020 Share Posted October 17, 2020 Hi, I'm new in embedded world and it is my first time with MSP432P401R and CC2650 BoosterPack. I'm using Energia IDE and I saw a BLE Library for Energia. It has 2 examples and I'm testing the specifically one: BLEInputOutput. I have flashed CC2650 as was indicated with proper .hex file In Android, with app: BLE Scanner, the example is working well. However, in Windows, I have paired my device (with the PIN), but in a few seconds its state changes from connected to paired and it is impossible to connect with it again! I don't know if it is a known problem with the library or someone could use it correctly. After many hours searching, I have not found anything to resolve it. I was planning to use it for a univerity project so I would thanks you for the help!! PD: this is my log: 20:34:14.825 -> RPC:Set adv name 20:34:14.825 -> BLE I/O Demo 20:34:14.825 -> RPC:Set adv data 20:34:14.825 -> Type:3 20:34:14.825 -> Rec msg 0x43:SNP_SET_ADV_DATA_CNF 20:34:14.825 -> RPC:Start adv 20:34:14.825 -> RPC:Set adv data 20:34:14.825 -> Type:1 20:34:14.825 -> Rec msg 0x43:SNP_SET_ADV_DATA_CNF 20:34:14.825 -> Rec msg 0x08:SNP_ADV_STARTED_EVT 20:34:14.825 -> RPC:Set sec param 20:34:14.825 -> ParamId:1 20:34:14.825 -> ERR 0x19 20:34:14.825 -> RPC:Set sec param 20:34:14.825 -> ParamId:0 20:34:14.825 -> ERR 0x19 20:34:14.825 -> RPC:Set sec param 20:34:14.825 -> ParamId:2 20:34:14.825 -> ERR 0x19 20:34:14.825 -> BLE Energia Buttons/LED Demo 20:34:14.825 -> Rec msg 0x01:SNP_CONN_EST_EVT 20:34:14.825 -> connInterval:36 20:34:14.825 -> slaveLatency:0 20:34:14.825 -> supervisionTimeout:960 20:34:14.860 -> Rec msg 0x10:SNP_ADV_ENDED_EVT 20:34:14.894 -> Rec msg 0x20:SNP_ATT_MTU_EVT 20:34:14.928 -> mtu:244 20:34:15.503 -> Rec msg 0x80:SNP_AUTHENTICATION_EVT 20:34:15.537 -> Check if equal:870760 20:34:15.537 -> Press button1 if equal, button2 if not. 20:34:21.494 -> RPC:Send num cmp rsp 20:34:21.494 -> ERR 0x7F 20:34:22.004 -> Rec msg 0x40:SNP_SECURITY_EVT 20:34:22.038 -> state:1 20:34:22.073 -> Rec msg 0x40:SNP_SECURITY_EVT 20:34:22.107 -> state:3 20:34:22.177 -> Rec msg 0x04:SNP_CONN_PARAM_UPDATED_EVT 20:34:22.246 -> connInterval:12 20:34:22.794 -> Rec msg 0x04:SNP_CONN_PARAM_UPDATED_EVT 20:34:22.864 -> connInterval:36 20:34:25.778 -> Rec msg 0x02:SNP_CONN_TERM_EVT 20:34:25.812 -> Rec msg 0x08:SNP_ADV_STARTED_EVT Quote Link to post Share on other sites
Rei Vilo 695 Posted October 17, 2020 Share Posted October 17, 2020 BLE is especially tricky on Windows. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.