-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about sending custom BLE packet #24
Comments
Hi @yan-xiao-xi thanks for your great question.
|
Many thanks to your answer! |
Hi @Matheus-Garbelini I tried to contact you about the firmware using my academic email but got no reply. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Matheus-Garbelini ,
First of all, thanks for this work!
I try to send custom BLE packet by modifying the Python script, and sniff packets with Wireshark.
I find that:
1.When sending SCAN_REQ with a valid advertiser address (advertising address of a real peripheral), the LED of nRF52840 flashes blue, and Wireshark can sometimes sniff the sent packet.
Codes as follow
Logs as follow
Captured packets as follow
2.When sending SCAN_REQ with an invalid advertiser address (advertising address not used by peripherals), the LED of nRF52840 stays blue, and Wireshark can not sniff the sent packet.
Codes as follow
nRF52840 looks like
3.When sending custom ADV_NONCONN_IND, the LED of nRF52840 stays blue, and Wireshark can not sniff the sent packet.
Codes as follow
Pcap saved by wrpcap looks like
And the question is:
1.Why can nRF52840 send SCAN_REQ only with a valid advertiser address, is there any additional logic in the firmware?
2.What does it mean that the LED of nRF52840 stays blue, is that an abnormal state? How can I confirm that the packet is sent to the air successfully?
3.Can I send custom ADV_NONCONN_IND packet (more specifically, custom BLE mesh packet) with your firmware? If so, would you like to give me a hint about how to do?
Appreciate for your help.
Regards,
yan_xiao_xi
The text was updated successfully, but these errors were encountered: