Improve DCHP handling by removing the yiaddr field from outgoing DHCP packets and adding the broadcast bit in the flags field.
Correct the check to ensure the application network event hook is not called when the first network down event is sent. Add in defaults for the Nabto task stack and priority.
This commit is contained in:
@ -139,4 +139,12 @@ from the FreeRTOSIPConfig.h configuration header file. */
|
||||
#define ipconfigFREERTOS_PLUS_NABTO 0
|
||||
#endif
|
||||
|
||||
#ifndef ipconfigNABTO_TASK_STACK_SIZE
|
||||
#define ipconfigNABTO_TASK_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2 )
|
||||
#endif
|
||||
|
||||
#ifndef ipconfigNABTO_TASK_PRIORITY
|
||||
#define ipconfigNABTO_TASK_PRIORITY ( ipconfigUDP_TASK_PRIORITY + 1 )
|
||||
#endif
|
||||
|
||||
#endif /* FREERTOS_DEFAULT_IP_CONFIG_H */
|
||||
|
@ -106,6 +106,10 @@ void vApplicationPingReplyHook( ePingReplyStatus_t eStatus, uint16_t usIdentifie
|
||||
void FreeRTOS_ReleaseUDPPayloadBuffer( void *pvBuffer );
|
||||
uint8_t * FreeRTOS_GetMACAddress( void );
|
||||
|
||||
#if ( ipconfigFREERTOS_PLUS_NABTO == 1 )
|
||||
portBASE_TYPE xStartNabtoTask( void );
|
||||
#endif
|
||||
|
||||
#endif /* FREERTOS_IP_H */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user