Open ealmiladi opened 2 weeks ago
Look for this entry: private void performBluetoothOperations(BleUartCommunication uartCommunication) throws Exception { ProtocolNinebot NbProtocol = new ProtocolNinebot("NBScooter1777"); And change it to match your scooters bluetooth name
Look for this entry: private void performBluetoothOperations(BleUartCommunication uartCommunication) throws Exception { ProtocolNinebot NbProtocol = new ProtocolNinebot("NBScooter1777"); And change it to match your scooters bluetooth name
I’ve taken that step already. I suspect either the encryption has changed in the latest BLE firmware for the G2, or that the protocol has changed slightly.
Oh I see, you could try this python implementation and see if you can connect. https://github.com/dnandha/miauth
There is a bug fix for: app/src/main/java/de/irmo/a9unbot/ProtocolNinebot.kt not sure if this will fix your issue.
I applied that bugfix too. Unfortunately, no result. But thanks!
Hi, thanks for the great work on this.
I'm trying to pair with my Ninebot MAX G2. I'm able to get
Received pingAck1 or pingAck2, breaking the loop
, but I never end up receiving the,Received pair Ack, breaking the loop - we can now send messages to scooter
message.I can't seem to figure out why it wont actually pair; do you happen to have any ideas as to how to get past this?
EDIT: Seems like hitting the power button twice will lead to the scooter eventually being paired, but then it seemingly disconnects immediately: