dart-archive / sdk

The Dartino project was an experiment seeking to improve productivity when writing application code for embedded devices.
https://dartino.org
Other
331 stars 36 forks source link

STM32 DatagramSocket does not update automatically assigned private port number #593

Open christiansiegel opened 8 years ago

christiansiegel commented 8 years ago

When binding an STM32 DatagramSocket to the port 0, FreeRTOS assigns an available port number from the private range (see FreeRTOS API Reference). However, the assigned port is not returned from SocketBind() in sdk/src/freertos/stm32f746g-discovery/socket.cc and DatagramSocket.port stays 0.