Commit Graph

23 Commits

Author SHA1 Message Date
David Lin
490c5eb336 Update sim7600ce.c 2020-04-18 21:55:02 +08:00
David Lin
9309ff5d77 Update bc35_28_95_lwm2m.c 2020-04-17 21:36:49 +08:00
tluio
059faa0438 Fix possible use of uninitialized variables in m5310a.c 2020-04-16 18:49:07 +08:00
daishengdong
5c21ce702f add IAP sample project, mini program manual
see:
doc/20.In_Application_Programming_based_EVB_MX_Plus.md
2020-04-15 18:11:13 +08:00
Winfred LIN
b6cb7147cc added fuzzy matching feature to at_echo; added set some AT+ commands for RHF76; added support for LSM6DS3;
1. in tos_at.h, added int  fuzzy_matching; field into at_echo_st struct, if this field is set to K_TRUE, then if echo message contains the string in "echo_expect" field.
2. added __API__ int tos_at_echo_fuzzy_matching_create(at_echo_t *echo, char *buffer, size_t buffer_size, char *echo_expect_contains) api to tos_at.c, which will create an at_echo_t with fuzzy_matching = K_TRUE;
3. added RHF76_ATCMD_SET_DELAY and  rhf76_set_delay to RHF76.h to allow set/query RX delay config
4. added RHF76_ATCMD_SET_DATA_RATE and rhf76_set_data_rate to RHF76.h to allow set/query date rate config
5. added rhf76_at_cmd_exe for DEBUG purpose, so that user can execute any AT+ commands they want
6. added code in lora_demo.c to demonstrate package segmentation.
2020-04-06 23:11:48 +10:00
Winfred LIN
cafe9c8a87 added sending unconfirmed message for RHF76
1. added AT+ command "AT+MSGHEX" and change previous RHF76_ATCMD_FMT_SEND_MSGHEX to RHF76_ATCMD_FMT_SEND_CMSGHEX

2. implement send_unconfirmed with a non-breaking approach: added int (*send_unconfirmed)(const void *buf, size_t len); event handle in lora_module_st; added int tos_lora_module_send_unconfirmed(const void *buf, size_t len); in lora_module_wrapper.c; and implement static int rhf76_send_unconfirmed(const void *buf, size_t len) in RHF76.c

3. added { "+MSGHEX: PORT:", rhf76_incoming_data_process } in event array rhf76_at_event so that the device is able to process the downlink data when it is configurated to send unconfirmed message.

4. added AT+ command "AT+REPT", and implement the static int rhf76_set_repeat(uint8_t num) to enable user to set repeat times (1-15) while using "unconfirmed message"

5. updated the instructions of implemeting up-link parser and downlink parser on the server in the file "..\board\NUCLEO_STM32L073RZ\BSP\Src\lora_demo.c"
2020-04-01 18:47:45 +11:00
Winfred LIN
da5884920a added lorawan example in IAR, and added support for LIS3MDL and LPS22HB sensors
1. modified the HTS221: removed magic numbers, added a sensor_tempnhumi_t struct to accommodate temperature and humidity data
2. added .h and .c files for LIS3MDL magnetic sensor
3. added .h and .c files for LPS22HB pressure sensor
3. added IAR (EWARM) project for lorawan example
4. added bsp.c and bsp.h to manager the sensors
2020-03-31 17:48:27 +11:00
supowang
8950decc44 add lorawan demo for evb_lx
add lorawan demo for evb_lx
2020-03-25 11:51:48 +08:00
Arthur
ec497c52de Merge pull request #112 from DavidLin1577/patch-2
Fixed the wrong output information
2020-03-03 18:29:43 +08:00
David Lin
182763f41b Minor optimization to improve readability of code
__M6312_M6312_H_ ->__M6312_H_
2020-03-02 22:19:05 +08:00
David Lin
b88ad7db22 Fixed the wrong output info in bc35_28_95_lwm2m.c
BC95_28_95->BC35_28_95
2020-03-02 22:08:53 +08:00
David Lin
61000a13be Fixed the wrong output information in bc35_28_95.c
BC95_28_95->BC35_28_95
2020-03-02 22:05:15 +08:00
David Lin
aace41fad5 fixed error of output information in bc26_init()
There are some error of output information in function bc26_init().
2020-02-11 21:53:06 +08:00
LinPeng
f29745bac9 [bug] fixed in sim7600ce.c
1. if (rssi == 99 || ber != 99) {
        return -1;
    }
this is a bug, as datasheet show, value 99 means 'not known or not detectable', so it should been fixed as below:
    if (rssi == 99 || ber == 99) {
        return -1;
    }
2020-01-20 15:35:49 +08:00
daishengdong
3a43c0159c fix a bug of memset overflow
this code not by me......
2020-01-20 10:41:05 +08:00
daishengdong
c9556307df add tos_slist.h, rename tos.h to tos_k.h 2020-01-03 17:25:38 +08:00
daishengdong
a82569d9f3 add Tencent Cloud explorer lora demo
develop guide, see http://iwiki.oa.com/pages/viewpage.action?pageId=46342556
2020-01-02 18:57:31 +08:00
supowang
e1c19fd194 add lora lowpower at command support
add lora lowpower at command support
2019-12-18 13:01:35 +08:00
supowang
1fd250764d add nb-iot demo for huawei ocean_connect
add nb-iot demo for huawei ocean_connect
2019-11-15 11:46:59 +08:00
supowang
5d86548c23 add LTE dtu sim7600ce 4G module tcp test 2019-11-13 16:17:21 +08:00
supowang
414dccf119 add stm32L053r8 support
add stm32L053r8 support
2019-09-30 11:37:22 +08:00
supowang
65ce348b0e delete some project files
fix some project and delete some files
2019-09-17 17:32:51 +08:00
supowang
edb2879617 first commit for opensource
first commit for opensource
2019-09-16 13:19:50 +08:00