Gitiles
Code Review
Sign In
review.gerrithub.io
/
CESARBR
/
knot-thing-source
/
d4df10f69d4147e989cbf6d203ba370f4a1f20dd
/
src
/
knot_thing_main.c
d4df10f
Add support to variable RAW data length
by Claudio Takahasi
· 4 years, 10 months ago
a04a2d4
Change knot_msg_data according to new proto
by Claudio Takahasi
· 4 years, 10 months ago
dde937f
Avoid send empty data messages
by Tiago Barros
· 6 years ago
579b9b7
Use hal_timeout to check timeout in knot_thing_verify_events function
by Tiago Barros
· 6 years ago
29a7177
Remove unnecessary local vars from knot_thing_create_schema
by Tiago Barros
· 6 years ago
98cede6
Verify if the config is valid.
by Larissa Lages
· 6 years ago
56f067b
Use same function for default and cloud config
by Larissa Lages
· 6 years ago
7b7892e
Set default values for config.
by Larissa Lages
· 6 years ago
ad236bd
Remove local vars in knot_thing_data_item_read
by Tiago Barros
· 6 years ago
8f02e1b
Add missing call to knot_thing_protocol_exit()
by Tiago Barros
· 6 years ago
6f3ab06
Remove unnecessary function pointers in knot_protocol
by Tiago Barros
· 6 years ago
c468b9e
Make ThingMain events/config/read/write functions public
by Tiago Barros
· 6 years ago
001f22b
Fix warning: 'ret_val' may be used uninitialized
by Claudio Takahasi
· 6 years ago
0d0fce4
saving config default from user input
by Larissa Lages
· 6 years ago
cb36b68
Creating knot_thing_register_config_item()
by Larissa Lages
· 6 years ago
99c902a
Fix hal headers include
by Claudio Takahasi
· 6 years ago
91cea34
knot-thing-main.c: Add default config
by Paulo Serra Filho
· 6 years ago
KNOT-v01.02-rc10
KNOT-v01.02-rc11
974507e
knot_thing_main.c:Fix check for the last_item in verify_events()
by Paulo Serra Filho
· 6 years ago
aec8ea1
knot_thing_main.c: Setting last_timeout when the item is registered
by Paulo Serra Filho
· 6 years ago
7f19f45
Fix registering sensors/actuators
by Douglas Vasconcelos
· 6 years ago
KNOT-v01.02-rc05
KNOT-v01.02-rc06
KNOT-v01.02-rc07
KNOT-v01.02-rc08
KNOT-v01.02-rc09
2531b8b
Fix: number of bytes sent when write data
by Paulo Serra Filho
· 6 years ago
f0dede2
Move upper/lower array to _data_items
by Claudio Takahasi
· 6 years ago
2f658c0
Replacing for smaller types and using progmen for strings.
by Lucas Cavalcanti
· 6 years ago
KNOT-v01.02-rc02
0e3f3da
Removing bouncing TODO, cause bouncing will be threated by user on the read
by Lucas Cavalcanti
· 6 years ago
ec9bf66
Removing TODO, which asks to delete if condition, but its a necessary code,
by Lucas Cavalcanti
· 6 years ago
c53c978
Changing the return define to invalid_device, because the condition checks
by Lucas Cavalcanti
· 6 years ago
834cd64
Add single function exit flow
by Claudio Takahasi
· 6 years ago
89edc53
Fix wrong callback verification
by Claudio Takahasi
· 6 years ago
3f80f50
Add minor code cleanup for write callback
by Claudio Takahasi
· 6 years ago
59a2936
Avoid getting current time unnecessarily
by Claudio Takahasi
· 6 years ago
af3a5ce
Use switch instead of if
by Claudio Takahasi
· 6 years ago
1e8d2c8
Simplify upper/lower limit assignment
by Claudio Takahasi
· 6 years ago
12fc352
Rename max_sensor_id to last_id
by Claudio Takahasi
· 6 years ago
76c51b9
Add cosmetic changes
by Claudio Takahasi
· 6 years ago
729eb04
Add static modifier to local functions
by Claudio Takahasi
· 6 years ago
6a2d108
thing_main: Add static modifier to verify_events
by Claudio Takahasi
· 6 years ago
32e7df2
Fix sending data continuously after reaching upper or lower limit
by Lucas Cavalcanti
· 6 years ago
5e57566
Fix: evt_sensor_id not re-starting at verify_events
by Lucas Cavalcanti
· 6 years ago
5df26b3
Fix: comparison is always false due to limited range of data type
by Erick Simões
· 6 years ago
f619d39
Fix: variable 'err' set but not used
by Erick Simões
· 6 years ago
38558e1
Fix time comparison in verify_events
by Paulo Serra Filho
· 6 years ago
22ae35a
Fix: Increment counter even when sensor id is not valid
by Rodrigo Alves
· 6 years ago
32fbd63
Add: config time in seconds to trigger event
by Rodrigo Alves
· 6 years ago
a929420
Fix: Update to new protocol header
by Rodrigo Alves
· 6 years ago
ecac099
Fix: Correct include calls
by Erick Simões
· 7 years ago
3291c25
Thing main: Fix coding style
by Rodrigo Alves
· 7 years ago
e6add26
Add Time event
by Erick Simões
· 7 years ago
88c639f
Add: Improve unknown sensor/actuator checking
by Rodrigo Alves
· 7 years ago
c5ed82b
Add: Initialize thing protocol
by Rodrigo Alves
· 7 years ago
8449688
Add: Run thing protocol
by Rodrigo Alves
· 7 years ago
a3890db
Fix: Wrong arguments order
by Rodrigo Alves
· 7 years ago
c2653c4
Fix: Configuration function is only visible to thing protocol
by Rodrigo Alves
· 7 years ago
c95ab5f
Schema: Modified the return values to be compliant with knot_protocol
by Paulo Serra Filho
· 7 years ago
ba17e9b
Fix: Coding style
by Rodrigo Alves
· 7 years ago
96ba117
Fix: Events should be verified when state is online
by Rodrigo Alves
· 7 years ago
4d633dc
Fix: Remove unecessary arguments/parameters to protocol init
by Rodrigo Alves
· 7 years ago
121eb40
Add: Write data to sensor/actuator function
by Rodrigo Alves
· 7 years ago
2a54286
Add: Read data from sensor/actuator function
by Rodrigo Alves
· 7 years ago
f34885e
Add: Create schema message
by Rodrigo Alves
· 7 years ago
a403520
Add: max sensor id
by Rodrigo Alves
· 7 years ago
3740c83
Fix: Modify init parameters
by Rodrigo Alves
· 7 years ago
925ba53
Update knot_thing_main files to use knot_thing_protocol
by Rodrigo Alves
· 7 years ago
3003fb1
Implement knot_thing_run for read sensors
by Tiago Barros
· 7 years ago
9ca6b3d
Refactor of knot thing code
by Tiago Barros
· 7 years ago
c6efab0
Rename knot thing source files
by Tiago Barros
· 7 years ago
[Renamed (97%) from src/kore.c]
ceb8270
examples: Add rpi speed sensor example
by Claudio Takahasi
· 7 years ago