Open pulkin opened 4 years ago
cellular.flight_mode
cellular.register
cellular.stations
MP_DEFINE_CONST_FUN_OBJ_KW
, etc;cellular.gprs
is a bit more involved but still the same);MP_DEFINE_CONST_FUN_OBJ_0
into MP_DEFINE_CONST_FUN_OBJ_KW
;STATIC mp_obj_t fun(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
...
}
timeout
argument;WAIT_UNTIL
macro or the wait loop (if any) instead of the corresponding constant (TIMEOUT_SMS_LIST
in this particular case);
cellular.SMS.list
cellular.SMS.send
cellular.attach
cellular.activate
cellular.gprs
gps.on