Commit Graph

527 Commits

Author SHA1 Message Date
tluio
d6e2830f62 Fix possible use of uninitialized variables in sys_arch.c 2020-04-19 18:05:10 +08:00
Arthur
0aabf39f9a Merge pull request #143 from DavidLin1577/patch-9
Update tencent_cloud_sdk_coap.c
2020-04-18 09:55:58 +08:00
Arthur
0befce6782 Merge pull request #142 from DavidLin1577/patch-8
Update bc35_28_95_lwm2m.c
2020-04-18 09:55:30 +08:00
Arthur
8c93e8f941 Merge pull request #141 from DavidLin1577/patch-6
Update tos_ffconf.h
2020-04-18 09:55:00 +08:00
Arthur
29911c483a Merge pull request #140 from DavidLin1577/patch-5
Update lora_demo.h
2020-04-18 09:54:12 +08:00
Arthur
0e25478953 Merge pull request #139 from DavidLin1577/patch-4
Update fatfs_drv.c
2020-04-18 09:53:45 +08:00
David Lin
010f129608 Update qcloud_iot_hub_sdk_coap.c 2020-04-17 22:15:54 +08:00
David Lin
559a85329e Update tencent_cloud_sdk_coap.c
coap is not mqtt,so
mqtt -> coap
2020-04-17 22:13:20 +08:00
David Lin
9309ff5d77 Update bc35_28_95_lwm2m.c 2020-04-17 21:36:49 +08:00
David Lin
e807d7bd11 Update fatfs_drv.h
_TOS_FATFS_DRV_H_ -> _FATFS_DRV_H_
2020-04-17 18:20:35 +08:00
David Lin
febf1613c1 Update tos_ffconf.h 2020-04-17 18:11:29 +08:00
David Lin
c955a833ec Update e53_ia1_e2e_demo.h 2020-04-17 17:48:12 +08:00
David Lin
c51a9b32aa Update lora_demo.h
__APP_DEMO_H__ -> __LORA_DEMO_H__
2020-04-17 17:42:53 +08:00
supowang
3fd1d77373 add mqttclient examples for EVB_LN882x
add mqttclient examples for EVB_LN882x
2020-04-17 15:49:17 +08:00
David Lin
feeb55dced Update fatfs_drv.c 2020-04-17 15:48:01 +08:00
David Lin
2254327f47 Update fatfs_drv.c
增加异常处理,防止错误cmd值导致返回RES_OK
2020-04-17 12:36:30 +08:00
Arthur
e2d16ddce9 Merge pull request #138 from DavidLin1577/patch-3
Update README.md
2020-04-17 11:59:47 +08:00
David Lin
a430718e4f Update README.md 2020-04-17 11:53:58 +08:00
Arthur
8c84a1e7a7 Merge pull request #137 from tluio/m5310a-patch-1
Fix possible use of uninitialized variables in m5310a.c
2020-04-17 10:28:18 +08:00
tluio
059faa0438 Fix possible use of uninitialized variables in m5310a.c 2020-04-16 18:49:07 +08:00
daishengdong
a31257a538 fix sample code 2020-04-16 15:53:02 +08:00
daishengdong
c603a605fe refresh sdk manual and development manul
1. add barrier/bitmap/stopwatch/rwlock API to sdk manual
2. add barrier develop sample to develop manual
2020-04-16 15:50:00 +08:00
daishengdong
788c2389b7 Update 20.In_Application_Programming_based_EVB_MX_Plus.md 2020-04-15 18:20:49 +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
royye62
3500ccd27c miniprogram: add iap mp for ble OTA 2020-04-14 16:50:37 +08:00
Arthur
e5c71448c7 Merge pull request #136 from DavidLin1577/patch-7
Update HAL_Device_tencentos_tiny.c
2020-04-14 16:15:27 +08:00
David Lin
7c0af9e2d4 Update HAL_Device_tencentos_tiny.c
HAL_GetDevInfo  ->  HAL_GetGwDevInfo
2020-04-13 11:25:33 +08:00
Supowang1989
cdff2bd2e9 Merge pull request #135 from DavidLin1577/patch-6
Fixed some stackover flow bugs in  tcp_client.c/tcp_server.c
2020-04-13 10:19:42 +08:00
Supowang1989
4beb1b019f Merge pull request #134 from DavidLin1577/patch-5
Fixed  param[in] infomation in lora_module_wrapper.h
2020-04-13 10:18:14 +08:00
Supowang1989
9bfa0347d5 Merge pull request #133 from DavidLin1577/patch-4
Update tos_at.h
2020-04-13 10:16:45 +08:00
Supowang1989
7328f33030 Merge pull request #132 from DavidLin1577/patch-3
Update lora_demo.h
2020-04-13 10:16:21 +08:00
Supowang1989
68180dc57d Merge pull request #131 from jdi058/master
Add tcp client/server echo example. @EVB_LN882x
2020-04-13 10:16:01 +08:00
David Lin
23313e8567 Update tcp_server.c
Fixed a stackover flow bug.
2020-04-12 11:12:24 +08:00
David Lin
8832a6477f Update tcp_client.c 2020-04-12 10:57:12 +08:00
David Lin
bdb1c540e4 Update lora_module_wrapper.h
Note error: this param[in]  is 'recv_callback':
mcps_indication -> recv_callback
2020-04-12 10:05:02 +08:00
David Lin
479f2a4ad1 Update tos_at.h
__AT_AGENT_H_ -> _TOS_AT_H_
2020-04-12 09:51:48 +08:00
David Lin
3b85266611 Update lora_demo.h
__APP_DEMO_H__ -> __APP_DEMO_H__
2020-04-12 09:03:00 +08:00
royye62
3e757c1688 mini program: add qcloud_device_linkage_demo 2020-04-12 03:24:18 +08:00
wuliang
895b8de45c Add tcp client/server echo example. @EVB_LN882x 2020-04-10 22:16:46 +08:00
Arthur
ccde26c1e9 Merge pull request #130 from jdi058/master
add wifi(ln882x) project.
2020-04-10 10:42:20 +08:00
wuliang
c6894019ec add wifi project.(board/EVB_LN882x, example/wifi_ln882x, platform/vendor_bsp) 2020-04-09 21:44:09 +08:00
daishengdong
8123240a91 add at socket keil project 2020-04-08 11:41:48 +08:00
daishengdong
032af66467 add socket wrapper for at framework
you can use at framework to send/recv data in socket API
example: see examples\tcp_through_module_based_at_socket
project: see board\TencentOS_tiny_EVB_MX_Plus\KEIL\tcp_through_module_based_at_socket
2020-04-07 16:39:13 +08:00
Supowang1989
f14e7b1753 Merge pull request #128 from jieranzhi/master
added reading internal flash functions for stm32l0xx series
2020-04-07 10:09:08 +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
47d6313ba1 added reading flash functions for stm32l0xx series
1. implemented HAL_StatusTypeDef HAL_FLASH_ReadWord(uint32_t Address, uint32_t* Data); and HAL_StatusTypeDef HAL_FLASH_ReadHalfWord(uint32_t Address, uint16_t* Data); which allows user to read the internal FLASH (with out read protection)

2. implemeted device_config struct to store device configurations, e.g. magnetometer fullscale, report period, etc.

3. added demonstration code of using flash reading apis in lora_demo.c, in which the configuration sent from the cloud is stored into the internal Data EEPROM bank1, and each time when the device is booted, the configurations would be loaded from the Data EEPROM and used to initialize the application.
2020-04-03 18:21:16 +11:00
Supowang1989
ad2774a51f Merge pull request #127 from jieranzhi/master
enable the device to send unconfirmed message for RHF76...
2020-04-01 19:01:16 +08: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
eb6ffc8e95 added downlink data parser
1. modified code in recv_callback, which allows user to set the fullscale magnetometer and report period
2. modified the sample javascript code for uplink and downlink data parser on the cloud
2020-04-01 01:07:50 +11:00
Supowang1989
45473e0129 Merge pull request #126 from jieranzhi/master
for NUCLEO_STM32L073RZ board, added lorawan example in IAR, and added support for LIS3MDL and LPS22…
2020-03-31 17:38:48 +08:00