Roy Lee
Roy Lee
The rsp.id == 74 inside the loop() now should be changed to 71. It meant to tell weather a "read response" is a response to earlier read request, or is...
Sorry for the late response , and taking so long to resolve this (hopefully) There are actually two issues here: 1. The device is not initialized correctly. Though we did...
This repo has been aged. More recent development could be found at: https://github.com/currantlabs/ble
It takes root privilege and exclusive access to the HCI device. 1. Try execute the program with *sudo*. (but you mentioned that you already did. 2. See if there are...
Hello, I'd recommend you to give this repo a shot. It's maintained by community, and people there may help if you still ran into problem (though you might want to...
LGTM. Thanks, @suapapa
Did you mean you see the 'advertisement packet' happened once, or it was actually the SET_ENABLE_ADVERTISE command from the host to the device? One thing can be confusing is that...
Looks like an MTU update request. We don't handle it write now. Need more helpers to take of of the OS X implementation.
``` 0.003418 clock_gettime(CLOCK_MONOTONIC, {3559, 995447360}) = 0 0.002804 socket(PF_BLUETOOTH, SOCK_RAW, 1) = 4 0.002190 ioctl(4, HCIGETDEVLIST, 0x10464d98) = -1 EBADFD (File descriptor in bad state) ``` It failed at an...
You can use HCI_RAW_CHANNEL instead, but then you'll have two stacks manage the controller at the same time. Kernel has link manager to manage links/connections. But BLE has been a...