profile_data is declared in build/generated/hog_custom_keypad.h which is generated by [pico_btstack_make_gatt_header(hog_custom_keypad PRIVATE "${CMAKE_CURRENT_LIST_DIR}/hog_custom_keypad.gatt")] in CMakeLists.txt
pico-sdk/lib/btstack/src/ad_parser.h:70:49: warning: type defaults to 'int' in declaration of 'ad_context_t' [-Wimplicit-int] pico-sdk/lib/btstack/src/ad_parser.h:70:62: error: expected ';', ',' or ')' before '*' token 70 | uint8_t ad_iterator_get_data_type(const ad_context_t * context); I kept getting loads of errors and warnings from ad_parser.h, even after I updated the SDK. I just need the arrow keys for my use case, so I modified your code
Thank you!!!!! I was making a keyboard with rpi pico, and it's the best tutorial🥳🥳🥳
Great tutorial, Thanks!!
So Much ❤!!!
Hi brother, Thank you for this video. i have one doubt, Will it work on Raspberry Pi 4?
where is profile_data declared? thanks!
profile_data is declared in build/generated/hog_custom_keypad.h which is generated by [pico_btstack_make_gatt_header(hog_custom_keypad PRIVATE "${CMAKE_CURRENT_LIST_DIR}/hog_custom_keypad.gatt")] in CMakeLists.txt
May I ask, why it doesn't work normally with iPhone and Windows?
You may forget this paired device, turn Host device Bluetooth(iPhone or Windows) off and then on, reset HID device and try again.
pico-sdk/lib/btstack/src/ad_parser.h:70:49: warning: type defaults to 'int' in declaration of 'ad_context_t' [-Wimplicit-int]
pico-sdk/lib/btstack/src/ad_parser.h:70:62: error: expected ';', ',' or ')' before '*' token
70 | uint8_t ad_iterator_get_data_type(const ad_context_t * context);
I kept getting loads of errors and warnings from ad_parser.h, even after I updated the SDK.
I just need the arrow keys for my use case, so I modified your code