modify timer api and wifi by tang
This commit is contained in:
parent
2f0273094d
commit
a50796305f
|
@ -575,7 +575,7 @@ BC28 采用更易于焊接的 LCC 封装,可通过标准 SMT 设备实现模
|
|||
|
||||
[\*] Enable NB-IOT ---></br>
|
||||
    --- Enable NB-IOT</br>
|
||||
    [\*] Quectel BC26 ---></br>
|
||||
    [\*] Quectel BC28 ---></br>
|
||||
    [ ] Gosuncn ME3616</br>
|
||||
        [ ] Enable initialize by thread</br>
|
||||
        [\*] Enable sample ---> (是否编译测试例程)</br>
|
||||
|
@ -584,5 +584,5 @@ BC28 采用更易于焊接的 LCC 封装,可通过标准 SMT 设备实现模
|
|||
        (uart3) AT client device name ---> (模块连接的UART名字,取决于模块和主板的连接方式)</br>
|
||||
        (1024) The maximum length of receive line buffer ---> (缓存大小,建议在1K以上)</br>
|
||||
<div>
|
||||
<img src = "./imagesrc/bc26_CodeTree.png" alt="bc26_CodeTree" width =300 >
|
||||
<img src = "./imagesrc/bc-28_codetree.png" alt="bc-28_codetree" width =300 >
|
||||
</div>
|
|
@ -67,4 +67,31 @@ ESP8266芯片是一款串口转无线模芯片,内部自带固件,用户操
|
|||
|
||||
<div>
|
||||
<img src = "./imagesrc/esp8266_CodeTree.png" alt="esp8266_CodeTree" width =300 >
|
||||
</div>
|
||||
</div></br></br>
|
||||
|
||||
|
||||
## 连接方式
|
||||
<div style="display: flex;justify-content: center;align-items: center;">
|
||||
<img src = "./imagesrc/esp8266_link.png" alt="esp8266 link" width =40% max-width= 40% >
|
||||
</br>
|
||||
</div></br></br>
|
||||
|
||||
## 用户接口
|
||||
```c
|
||||
static const struct netdev_ops esp8266_netdev_ops{
|
||||
|
||||
esp8266_netdev_set_up,
|
||||
esp8266_netdev_set_down,
|
||||
|
||||
esp8266_netdev_set_addr_info,
|
||||
esp8266_netdev_set_dns_server,
|
||||
esp8266_netdev_set_dhcp,
|
||||
|
||||
#ifdef NETDEV_USING_PING
|
||||
esp8266_netdev_ping,
|
||||
#endif
|
||||
#ifdef NETDEV_USING_STAT
|
||||
esp8266_netdev_stat,
|
||||
#endif
|
||||
}
|
||||
```
|
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
|
@ -98,7 +98,6 @@ typedef struct xs_Timer *xs_timer_x;
|
|||
#define TRIGGE_WAY_ONCE (1 << 0)
|
||||
#define TRIGGE_WAY_PERIODIC (1 << 1)
|
||||
|
||||
```c
|
||||
xs_int32 xs_KTimerCreate(xs_uint8 trigge_way,void (*func_callback)(void *param),void *func_param, xs_tick_x ticks);
|
||||
```
|
||||
该函数用于创建一个内核软件定时器,并返回创建成功的软件定时器的ID,ID默认范围0-255,可配置。
|
||||
|
|
Loading…
Reference in New Issue