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??
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.
i have one question
here central connects automatically when peripheral advertises. how such thing happens??
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 == 0xff) \
&& (advReport->data == 0x31) && (advReport->data == 0x01) \
&& (advReport->data == 0x3b) && (advReport->data == 0x04))
peerDeviceFound = true;