Custom Profile (1) 썸네일형 리스트형 Raspberry Pi PicoW - BLE Custom Profile 서비스 테스트 Raspverry Pi Pico W의는 Bluetooth Classic 및 BLE(Bluetooth Low Energy) 기능을 지원한다. BLE 기능을 테스트 해보자. Pico W의 BLE 설정 테스트를 참고 하여 코드를 작성할 수 있다. 가장 간단하게 테스트 해 볼수 있는 BLE Custom Profile로 데이터를 송수신 하는 코드를 작성하자. #include #include static char characteristic_data = 'H'; //BLE 연결 콜백 함수 void deviceConnectedCallback(BLEStatus status, BLEDevice *device) { (void) device; switch (status) { case BLE_STATUS_OK: Serial.p.. 이전 1 다음