Skip to content

Commit

Permalink
modem/alt1250: Add interface to set retry mode disable
Browse files Browse the repository at this point in the history
Add driver interface to set retry mode disable.
  • Loading branch information
SPRESENSE committed Jan 26, 2023
1 parent 0d5ea8d commit 1aea4d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/modem/alt1250/alt1250.c
Expand Up @@ -654,6 +654,10 @@ static int alt1250_power_control(FAR struct alt1250_dev_s *dev,
break;
#endif

case LTE_CMDID_RETRYDISABLE:
ret = altmdm_set_pm_event(EVENT_RETRYREQ, false);
break;

default:
ret = -EINVAL;
break;
Expand Down
1 change: 1 addition & 0 deletions include/nuttx/wireless/lte/lte_ioctl.h
Expand Up @@ -153,6 +153,7 @@
#define LTE_CMDID_LOGREMOVE _CMDGRP_NORMAL(0x3a)
#define LTE_CMDID_STOPAPI _CMDGRP_NORMAL(0x3b)
#define LTE_CMDID_SUSPEND _CMDGRP_NORMAL(0x3c)
#define LTE_CMDID_RETRYDISABLE _CMDGRP_POWER(0x3d)

#define LTE_CMDID_ACCEPT _CMDGRP_NORMAL(0x50)
#define LTE_CMDID_BIND _CMDGRP_NORMAL(0x51)
Expand Down

0 comments on commit 1aea4d4

Please sign in to comment.