-
Notifications
You must be signed in to change notification settings - Fork 74
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
Doesn't show up on iPhone 6 #3
Comments
Could you try a recent Android phone to see if it shows up there? You could also try a second Arduino with the receive example in parallel. |
Sorry, the only Android device I have is from about 2008. It does not have BLE. I tried it already and it doesn't work. But I will try the second Arduino. |
Tried it with an OnePlus 2 and a raspberry pi with activated le scan. Neither my phone nor the pi recognizes the advertised data from my arduino uno. Strangely enough the receiving on my arduino uno only works with deactivated channel hopping whereas on an arduino nano neither receiving nor advertising data works. EDIT: I am using a nRF24L01+ module EDIT2: Do you think it could be an platform issue between Uno and Micro? |
Keep in mind that this is abusing the Bluetooth spec pretty hard, I've seen a lot of issues where some specific combination of Arduino model and phone model works, and another combination not at all. I suspect it's some kind of timing issue related to channel hopping, but I've never been able to pin it to a specific cause... |
Just for the record, the guy from #16 used an Arduino Uno, and it worked in both directions there (using a Galaxy Note 5). |
I had problem with iPhone taking too much time to detect nrf advertisement packets. After analyzing with packet sniffer, it turned out to be CRC errors on CH 37 and 38. I figured that my module is probably not tuned properly and used another module which worked ok. nrf24L01+ green module with Arduino Nano |
@ardyesp very interesting, thanks for sharing. That would explain why this behaviour seems so entirely random (and if certain channels work better than others on de-tuned modules, that would also explain why it can sometimes be mitigated by disabling channel hopping). |
@floe Not sure if this helps, but I've been trying to implement this concept in CircuitPython. Among my research, I found this source code comment:
It would seem that smartphone devices look for different PDU types. Your library is using |
@floe I just got confirmation that the PDU type |
Wow, weird. What Android device(s) did you test with? |
Samsung Galaxy s4, s5, & s10. My friend, @jerryneedell has the iPhone that was tested, but I don't know the exact model (I could ask if its important). |
FYI -- I hav been using both an iPhone 11 and an iPhone 7 to test the nRF24L01 library from @2bndy5 Here are some examples using nRF Connect on an iPhone 11 |
oh, I was under the mistaken impression the PDU types were an XOR situation. This calls for adjustment to the defaults on my library. Also, it now makes a little more sense why Dmitry Grinberg used PDU type |
Sorry for the confusion. When I first tested it, the iPhone was behaving inconsistently. After a power cycle it started responding to both types ... |
just to be clear @jerryneedell In the screenshots, I see you''re using the @floe So sorry if it seems like we're hijacking this issue. I just wanted to help find a solution. |
To be honest, I had not noticed that, but I just retested with the line commented out and the iPhone 11 still sees both cases (0x40 and 0x42) |
awesome. @jerryneedell Sorry to lean on you so heavily for testing this PDU type discrepancy. |
I am using a nRF24L01+ with a Nano and the send.ino example. It doesn't show up on a iPhone 6. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: