- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I am currently working on a Project where I want to connect my Psoc4 BLE with a Sensor which should send me Lux values.
My Psoc is set up as a GAP Peripheral and Gatt Client.
I discovered that I can only get those values if i am paired with the Sensor.
Is there any Example which covers this or anything where I can get information about how I should do this?
Thanks
Chris
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume Lux Sensor is a BLE peripheral device. So, from PSoC device as soon as you connect to the Sensor , send the pairing request. You need to use CyBle_GapAuthReq() API as soon as you connect (CYBLE_EVT_GAP_DEVICE_CONNECTED).
Refer below sample examples for more details on pairing --
-Gyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume Lux Sensor is a BLE peripheral device. So, from PSoC device as soon as you connect to the Sensor , send the pairing request. You need to use CyBle_GapAuthReq() API as soon as you connect (CYBLE_EVT_GAP_DEVICE_CONNECTED).
Refer below sample examples for more details on pairing --
-Gyan