You are here

communicate two CY8CKIT-042-BLE | Cypress Semiconductor

communicate two CY8CKIT-042-BLE

Summary: 3 Replies, Latest post by BMAH on 11 Feb 2016 02:32 AM PST
Verified Answers: 1
Last post
Log in to post new comments.
rushin010's picture
32 posts

hello there i want to send data using CY8CKIT-042-BLE using one board. and using another board i want to receive. can you help me how to do it??

user_1377889's picture
9241 posts

You may freely use the second board just the same as the PRoC dongle, there is no deep difference between them from the view of BLE connection.



rushin010's picture
32 posts

i have one question

here central connects automatically when peripheral advertises. how such thing happens??

BMAH's picture
Cypress Employee
189 posts

In the central project, we check if the advReport matches with that of the Peripheral. If so, connect automatically.



if((advReport->eventType == CYBLE_GAPC_SCAN_RSP) && (advReport->data[1] == 0xff) \
                    && (advReport->data[2] == 0x31)  && (advReport->data[3] == 0x01) \
                    && (advReport->data[4] == 0x3b) && (advReport->data[5] == 0x04))
                peerDeviceFound = true;





Log in to post new comments.