Gitiles
Code Review
Sign In
review.gerrithub.io
/
CESARBR
/
knot-thing-source
/
707e213882b8e3acb1d46cd879c94035b2b67027
/
src
/
knot_thing_protocol.c
707e213
Add option to allow changing default channel
by Claudio Takahasi
· 6 years ago
25d2e43
Fix minor code standard
by Claudio Takahasi
· 6 years ago
5f00faf
Fix not managing disconnection
by Vitor Barros
· 6 years ago
c9c480a
nRF24: Fix MAC address validation criteria
by Claudio Takahasi
· 6 years ago
39c9e17
nRF24: Change address generation
by Vitor Barros
· 6 years ago
a4c9565
Fix: Remove mgmt_read on knot_thing_protocol_run
by Vitor Barros
· 6 years ago
dde937f
Avoid send empty data messages
by Tiago Barros
· 6 years ago
896112d
Improve LED status response by changing its behaviour
by Tiago Barros
· 6 years ago
864f1d0
Halt Thing if it fails on thing_init
by Tiago Barros
· 6 years ago
2ebe55a
Remove the substates from protocol state machine
by Tiago Barros
· 6 years ago
eee4708
Restart network after MAC reset
by Tiago Barros
· 6 years ago
4375b77
Remove unnecessary local vars in clear_data function
by Tiago Barros
· 6 years ago
8c61bd5
Add log messages for connection states
by Tiago Barros
· 6 years ago
ed62740
Put AVR related headers under correct #ifdef
by Tiago Barros
· 6 years ago
d39fc9c
Fix some wrong error conditions
by Tiago Barros
· 6 years ago
3021edf
Use new hal_log functions
by Tiago Barros
· 6 years ago
805536a
Fix compiler warnings
by Tiago Barros
· 6 years ago
2ebed29
Fix error in KNOT_MSG_DATA_RESP msg handling
by Tiago Barros
· 6 years ago
62ec662
Fix error in is_uuid function
by Tiago Barros
· 6 years ago
b74f099
Fix error on device_name declaration
by Tiago Barros
· 6 years ago
d49fd27
Replace local msg vars by a global knot_msg var
by Tiago Barros
· 6 years ago
4158779
Re-order global variables
by Tiago Barros
· 6 years ago
562946b
Change global buffer device_name to a pointer
by Tiago Barros
· 6 years ago
6f3ab06
Remove unnecessary function pointers in knot_protocol
by Tiago Barros
· 6 years ago
8b54e65
Fix incompatible pointer type warning
by Claudio Takahasi
· 6 years ago
33c21c2
Thing_protocol: Change led status to pin 6
by Marcela Oliveira
· 6 years ago
6b4fea8
Add connected substate
by Claudio Takahasi
· 6 years ago
552d2a0
nRF24: Fix address when accepting connection
by Claudio Takahasi
· 6 years ago
c2c1d9d
Add minor coding style fixes
by Claudio Takahasi
· 6 years ago
99c902a
Fix hal headers include
by Claudio Takahasi
· 6 years ago
cb7268c
knot_thing_protocol.c: Moving define for Arduino to correct place
by Paulo Serra Filho
· 6 years ago
0f3f2fe
Remove leftover defines
by Claudio Takahasi
· 6 years ago
edf29ff
Remove leftover logging code
by Claudio Takahasi
· 6 years ago
8b9b41b
Convert static local variable to local
by Claudio Takahasi
· 6 years ago
6b78d6f
Handle invalid device
by Rodrigo Alves
· 6 years ago
KNOT-v01.02-rc03
KNOT-v01.02-rc04
0ec07ca
Remove global variable
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
7014c98
Remove unnecessary parenthesis
by Gabriel Bandeira
· 6 years ago
d4ecc2a
Remove unused variables
by Gabriel Bandeira
· 6 years ago
c4933d5
Remove warning with a cast on pgm_read_word calls
by Gabriel Bandeira
· 6 years ago
93c313c
Remove unnecessary log
by Gabriel Bandeira
· 6 years ago
KNOT-v01.02-rc01
9d64fc8
Fix: Unnecessary logging
by Erick Simões
· 6 years ago
c032804
Print Thing's MAC address on initialization
by Gabriel Bandeira
· 6 years ago
d667612
Add hal_log to thing protocol
by Gabriel Bandeira
· 6 years ago
23fce2b
Change hal_log to use PROGMEM
by Gabriel Bandeira
· 6 years ago
385cf15
Add LED to indicate connection status
by Erick Simões
· 6 years ago
6ecb929
Clear EEPROM if the mac address is invalid on initialization
by Renie Delgado
· 6 years ago
8a8cea9
Set new mac only if there isn't a valid mac on eeprom
by Reniê Delgado
· 6 years ago
2c36dff
Fix: Send config response only if sucessfully stored
by Paulo Serra Filho
· 6 years ago
6d32f47
Update: Using the new knot_message_item
by Paulo Serra Filho
· 6 years ago
e105eca
Create schema_flag to inform if the GW received all the schemas
by Paulo Serra Filho
· 6 years ago
907e01f
Fix: control reaches end of non-void function
by Erick Simões
· 6 years ago
KNOT-v01.00
1217126
Fix: unused variable 'resp'
by Erick Simões
· 6 years ago
74f0c4e
Fix: unused variable 'buffer'
by Erick Simões
· 6 years ago
c6f40b8
Modify clear_eeprom_pin on Arduino
by Paulo Serra Filho
· 6 years ago
d01b29e
Refactor knot_thing_protocol_run
by Paulo Serra Filho
· 6 years ago
52807ac
Fix return logic on mgmt_read
by Paulo Serra Filho
· 6 years ago
685b6ef
Add: Close conection after reseting eeprom
by Rodrigo Alves
· 6 years ago
c623c04
Add: Check if nrfd disconnected
by Rodrigo Alves
· 6 years ago
ac555e6
Add: Clear UUID and TOKEN before reading
by Paulo Serra Filho
· 6 years ago
2e1736a
Fix: is_uuid returns 1 if uuid is valid
by Rodrigo Alves
· 6 years ago
b2d10e1
Fix: Shift include nrf24.h to before comm.h
by Paulo Serra Filho
· 6 years ago
KNOT-v01.00-rc03
d17eb11
Add: New parameter in hal_comm_init
by Paulo Serra Filho
· 6 years ago
fa7ec2f
Add: Retransmit register/auth
by Rodrigo Alves
· 6 years ago
KNOT-v01.00-rc02
fe97dad
Add: Timeout to retransmit schema message
by Rodrigo Alves
· 6 years ago
32fbd63
Add: config time in seconds to trigger event
by Rodrigo Alves
· 7 years ago
b306c25
Add: Create function to erase eeprom after pressing button
by Paulo Serra Filho
· 7 years ago
c2c16de
Fix: Use uuid_len from define instead of raw value
by Paulo Serra Filho
· 7 years ago
32d95ad
Fix mac address initialization
by Renie Delgado
· 6 years ago
f0206e9
Set Mac address on Thing
by Renie Delgado
· 7 years ago
KNOT-v01.00-rc01
923e1d1
Fix: Remove extra structure
by Rodrigo Alves
· 7 years ago
0cdf0a7
Fix: Config response size
by Rodrigo Alves
· 7 years ago
69ebee4
Fix: Use new storage write function
by Rodrigo Alves
· 7 years ago
d03f53e
Add: Verify if UUID is valid
by Rodrigo Alves
· 7 years ago
06a8553
Fix: Use new storage read function
by Rodrigo Alves
· 7 years ago
55dd7d2
Fix: Wrong config callback pointer
by Rodrigo Alves
· 7 years ago
0292e61
Fix: Knotd expects sensor id as confirmation of config
by Rodrigo Alves
· 7 years ago
f71739d
Fix: Wrong config request header
by Rodrigo Alves
· 7 years ago
bf38217
Coding style
by Rodrigo Alves
· 7 years ago
f61747c
Fix: Value returned from read is ssize_t
by Rodrigo Alves
· 7 years ago
e296a1a
Fix: Schema resp state to use new header types
by Rodrigo Alves
· 7 years ago
c3880d6
Fix: Break code when an error occurs
by Rodrigo Alves
· 7 years ago
cd2ebec
Ignore EAGAIN
by Rodrigo Alves
· 7 years ago
95670f1
Fix: Use client socket
by Rodrigo Alves
· 7 years ago
4c406bc
Thing protocol: Fix coding style
by Rodrigo Alves
· 7 years ago
482954a
Add: Accept GW connection request
by Rodrigo Alves
· 7 years ago
d231ca6
Add: Comm listen
by Rodrigo Alves
· 7 years ago
93b2a6a
Fix: Set data should indicate back to the GW the value set
by Rodrigo Alves
· 7 years ago
978aef4
Fix: After authentication go to online
by Rodrigo Alves
· 7 years ago
63be4f6
Add send_data to thing protocol
by Renie Delgado
· 7 years ago
ca4490f
Created handlers for acks from GW
by Paulo Serra Filho
· 7 years ago
58dd030
Created skeleton for the STATE_ERROR
by Paulo Serra Filho
· 7 years ago
8b634cd
Modified the protocol_run to identify the previous state
by Paulo Serra Filho
· 7 years ago
0b103d4
Fix: Flattening code. Removed elses alignment.
by Paulo Serra Filho
· 7 years ago
41a6f9b
Schema: Handle knot_msg_schema_resp
by Paulo Serra Filho
· 7 years ago
c95ab5f
Schema: Modified the return values to be compliant with knot_protocol
by Paulo Serra Filho
· 7 years ago
b51c3e4
Add: Initialize comm
by Rodrigo Alves
· 7 years ago
b5fe00f
Add: Initial verify events implementation
by Rodrigo Alves
· 7 years ago
a51a0f2
Add: Verify events function to init
by Rodrigo Alves
· 7 years ago
5295515
Add: Handle get data request
by Rodrigo Alves
· 7 years ago
Next »