Commit Graph

478 Commits

Author SHA1 Message Date
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
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
a3078ac232 add mqtt client example for evb_mx+
add mqtt client example for evb_mx+
2020-03-27 17:04:33 +08:00
supowang
8950decc44 add lorawan demo for evb_lx
add lorawan demo for evb_lx
2020-03-25 11:51:48 +08:00
Arthur
88bfcdd333 Merge pull request #124 from DavidLin1577/patch-2
Update HAL_Device_tencentos_tiny.c
2020-03-23 10:25:16 +08:00
Arthur
eaba373ad5 Merge pull request #125 from jiejieTop/master
update mqttclient to version 1.0.2 and add gokit demo...
2020-03-23 10:24:41 +08:00
jiejieTop
787046eddb update mqttclient README.md 2020-03-22 12:46:06 +08:00
jiejieTop
10bbb3db8d mqttclient supports at framework and add gokit3 board demo... 2020-03-22 12:24:29 +08:00
jiejieTop
476e0dec02 the push is modified as follows:
1. delete some junk files.
2. mqttclient added comments and updated to v1.0.2.
3. update README.md.
4. update the author's own server certificate.
5. minor changes to salof.
2020-03-21 21:53:10 +08:00
David Lin
6d6b86f367 Update light_data_template_sample.c 2020-03-20 22:01:00 +08:00
David Lin
474c37d147 Update HAL_Device_tencentos_tiny.c
Fixed hidden bug may cause stackover flow
2020-03-20 21:32:33 +08:00
supowang
c0cb4460b7 add modbus demo for MX+
add modbus demo for MX+
2020-03-20 18:39:49 +08:00
Arthur
a2c60e626f Merge pull request #123 from DavidLin1577/patch-1
Update string_utils.c
2020-03-18 10:25:08 +08:00
David Lin
8d273fc02b Update string_utils.c 2020-03-17 21:18:34 +08:00
David Lin
e8b6f7042d Update json_token.c 2020-03-17 21:16:54 +08:00
David Lin
ccec7a25b6 Update json_token.c 2020-03-17 21:10:01 +08:00
David Lin
e28acb8a2a Update string_utils.c 2020-03-17 21:06:04 +08:00
Arthur
9675ebb11d Merge pull request #121 from acevest/onenet_mini
add support for OneNET Mini dev board
2020-03-15 23:51:24 +08:00
Arthur
c5a972b9ac Merge pull request #122 from DavidLin1577/patch-5
Fixed  stackover flow bug in qcloud_json_token.c
2020-03-15 23:50:47 +08:00
David Lin
9e146a68f6 Fixed stackover flow bug in qcloud_string_utils.c
Add if ‘NULL’:

            if (NULL == tmp) {
                return NULL;
            }
2020-03-15 21:53:39 +08:00
David Lin
cc88371d7d Fixed stackover flow bug in qcloud_json_token.c
Add if ‘NULL’:
            if (NULL == entry) {
                return NULL;
            }
2020-03-15 21:47:54 +08:00
acevest
dfc59ab167 add support for OneNET Mini dev board 2020-03-15 18:20:41 +08:00
daishengdong
9d6dd6398e fix the bug of sd fatfs formated not recognized by windows
1. the address in tos_hal_sd_*(tos_hal_sd.c) is by byte, but address in HAL_SD_WriteBlocks/HAL_SD_ReadBlocks is by sector
2. convert address in tos_hal_sd_* from byte to sector( / 512)
2020-03-15 12:04:47 +08:00
daishengdong
cb2477f66e support RHF0M0E5 board with armcc v6
1. project, see TencentOS-tiny\board\RHF0M0E5_STM32WLE5xx\KEIL\hello_world
2020-03-12 20:10:27 +08:00
daishengdong
441f57c837 fix "redefinition of typedef 'k_task_t'"
1. remove re-typedef of k_task_st to k_task_t in tos_task.h
2. add "typedef struct k_task_st k_task_t" to tos_ktypes.h
2020-03-12 11:04:17 +08:00
Arthur
6d0c6d3721 Merge pull request #117 from DavidLin1577/patch-2
Improve readability of codes
2020-03-07 10:47:51 +08:00
Arthur
63ed9c91ed Merge pull request #118 from DavidLin1577/patch-3
Fixed  bug of  tcp receive
2020-03-07 10:47:14 +08:00
Arthur
258bce8563 Merge pull request #119 from DavidLin1577/patch-4
Fixed wrong parameter in  debug output info
2020-03-07 10:46:48 +08:00
David Lin
39d2d32ceb Fixed wrong parameter in debug information 2020-03-07 09:08:42 +08:00
David Lin
a52cea4354 Fixed wrong parameters in debug output 2020-03-07 09:05:15 +08:00
David Lin
90c9cf9cbb Added missing parameter 2020-03-07 09:00:14 +08:00
David Lin
6374890a72 Fixed bug of tcp receive
int tos_sal_module_recv_timeout(int sock, void *buf, size_t len, uint32_t timeout);
This 'len' is data buffer length.
2020-03-07 08:34:30 +08:00
David Lin
2956d75b37 Update readme.md 2020-03-06 23:33:41 +08:00
David Lin
b63867f519 Fixed the wrong indentation and typos 2020-03-06 23:23:28 +08:00
David Lin
df17c82e52 Fixed the wrong indentation 2020-03-06 23:10:13 +08:00
daishengdong
a102c16dc5 Merge branch 'master' of https://github.com/Tencent/TencentOS-tiny 2020-03-06 19:27:31 +08:00
daishengdong
79a0524b60 remove some redundant judgement 2020-03-06 19:27:21 +08:00
Supowang1989
3087482e54 add TencentOS tiny Simulator project
add TencentOS tiny Simulator project
2020-03-06 13:46:35 +08:00
Arthur
5f049c6d6b Merge pull request #116 from DavidLin1577/patch-1
Minor optimization to improve readability of code
2020-03-06 11:28:48 +08:00
David Lin
738b11f44b Update README.md 2020-03-06 10:29:46 +08:00
David Lin
2c9f8b2ff8 Update README.md 2020-03-06 09:05:03 +08:00
David Lin
3d95ace7fe Minor optimization to improve readability of code
mqtt_msg_handler_destory -> mqtt_msg_handler_destroy
2020-03-06 09:01:07 +08:00
Arthur
5e5952f412 Merge pull request #115 from DavidLin1577/patch-6
Fixed macro error in  e53_ia1_e2e_demo_config.h
2020-03-04 22:22:14 +08:00
David Lin
17df5b69a6 Update e53_ia1_e2e_demo_config.h
_H_TOS_FARM_AI_CONFIG_H -> _E53_IA1_E2E_DEMO_CONFIG_H_
2020-03-04 20:46:44 +08:00
Arthur
39634086a4 Merge pull request #114 from DavidLin1577/patch-1
Fixed wrong output information
2020-03-03 21:50:21 +08:00
David Lin
59df394b43 Fixed wrong output information
blind->bind
2020-03-03 20:50:40 +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
Arthur
146a0f06b8 Merge pull request #113 from DavidLin1577/patch-3
Minor optimization to improve readability of code
2020-03-03 18:29:09 +08:00
daishengdong
7e6ce005e6 support avr architecture based on ATMega32
1. IAR project, see TencentOS-tiny\board\ATMega32\IAR, both 4.12 and 7.20 is supplied.
2020-03-03 18:27:24 +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