Hi there,
did anyone already figure out the logic behind the call notifications sent from GadgetBridge? I did the following tests (timestamp+message):
received call, caller hung up
1588625052->{"t":"call","cmd":"accept","name":"xxx","number":"12345","body":""} 1588625058->{"t":"call","cmd":"start","name":"xxx","number":"12345","body":""}
received call, Bangle hung up via reject command
1588625081->{"t":"call","cmd":"accept","name":"xxx","number":"12345","body":""} 1588625085->{"t":"call","cmd":"start","name":"xxx","number":"12345","body":""}
received call, answer using phone (because accept command does not work), caller hung up
1588625112->{"t":"call","cmd":"accept","name":"xxx","number":"12345","body":""} 1588625116->{"t":"call","cmd":"reject","name":"xxx","number":"12345","body":""} 1588625122->{"t":"call","cmd":"start","name":"xxx","number":"12345","body":""}
So it seems GB always send accept and start for a call but not always in the same order?
And also as mentioned above, sending a reject command to GB rejects the call. However send an accept command does not work.
I'm also trying to look through the GB log files on the phone as well as trying to read into the GB source code.
But if anyone else has some information I'd surely appreciate it.
@Raik started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi there,
did anyone already figure out the logic behind the call notifications sent from GadgetBridge? I did the following tests (timestamp+message):
So it seems GB always send accept and start for a call but not always in the same order?
And also as mentioned above, sending a reject command to GB rejects the call. However send an accept command does not work.
I'm also trying to look through the GB log files on the phone as well as trying to read into the GB source code.
But if anyone else has some information I'd surely appreciate it.