pulkin / micropython

MicroPython implementation on Ai-Thinker GPRS module A9 (RDA8955)
https://micropython.org
MIT License
103 stars 30 forks source link

How detect hangup or Rejected after call ? #90

Open tinamore opened 3 years ago

tinamore commented 3 years ago

hi, I am doing a function, Where gprs_a9 will call my phone and i want trigger hangup or Rejected. Trigger bellow not detect hangup or Rejected

cellular.on_call(on_call_handler)

thanks

drhisham343 commented 1 year ago

the paramiter passed in the call handler will give the caller number once recived the call and when hangup it will return True. you can detecte true by if statment or while etc..

camp-easy commented 3 months ago

Hello, so it's possible to make a call from the A9G? i can't find a code to do it...Thank you in advance for the support