mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-30 04:29:11 +00:00
TSCH-security: disable TSCH logs to save ROM, relax checks in 21-z1-rpl-tsch-security.csc accordingly
This commit is contained in:
parent
73fcfa42c2
commit
8b63b41b96
@ -153,7 +153,7 @@
|
|||||||
#define TSCH_SCHEDULE_CONF_DEFAULT_LENGTH 2
|
#define TSCH_SCHEDULE_CONF_DEFAULT_LENGTH 2
|
||||||
/* Reduce log level to make space for security on z1 */
|
/* Reduce log level to make space for security on z1 */
|
||||||
#undef TSCH_LOG_CONF_LEVEL
|
#undef TSCH_LOG_CONF_LEVEL
|
||||||
#define TSCH_LOG_CONF_LEVEL 1
|
#define TSCH_LOG_CONF_LEVEL 0
|
||||||
#endif /* WITH_SECURITY */
|
#endif /* WITH_SECURITY */
|
||||||
|
|
||||||
#endif /* CONTIKI_TARGET_Z1 */
|
#endif /* CONTIKI_TARGET_Z1 */
|
||||||
|
@ -270,9 +270,6 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1</commands>
|
|||||||
<script>TIMEOUT(300000); /* Time out after 5 minutes */
|
<script>TIMEOUT(300000); /* Time out after 5 minutes */
|
||||||

|

|
||||||
log.log("Waiting for association with security\n");
|
log.log("Waiting for association with security\n");
|
||||||
/* Check that nodes associate with security */
|
|
||||||
WAIT_UNTIL(msg.startsWith("TSCH: association done, sec 1,"));
|
|
||||||
log.log("Association with security done\n");
|
|
||||||

|

|
||||||
/* Wait until a node (can only be the DAGRoot) has
|
/* Wait until a node (can only be the DAGRoot) has
|
||||||
* 8 routing entries (i.e. can reach every node) */
|
* 8 routing entries (i.e. can reach every node) */
|
||||||
|
Loading…
Reference in New Issue
Block a user