Skip to content

Commit

Permalink
Update readme for version
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot committed Jun 7, 2024
1 parent 77a5345 commit a9bc6b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ Example

- Actual_Username = “iotuser”, OS_Name = FreeRTOS, OS_Version = V10.4.3,
Hardware_Platform_Name = WinSim, MQTT_Library_Name = coremqtt,
MQTT_Library_version = 2.2.0. If username is not used, then “iotuser” can be
MQTT_Library_version = 2.2.1. If username is not used, then “iotuser” can be
removed.

```
/* Username string:
* iotuser?SDK=FreeRTOS&Version=v10.4.3&Platform=WinSim&MQTTLib=coremqtt@2.2.0
* iotuser?SDK=FreeRTOS&Version=v10.4.3&Platform=WinSim&MQTTLib=coremqtt@2.2.1
*/
#define OS_NAME "FreeRTOS"
#define OS_VERSION "V10.4.3"
#define HARDWARE_PLATFORM_NAME "WinSim"
#define MQTT_LIB "coremqtt@2.2.0"
#define MQTT_LIB "coremqtt@2.2.1"
#define USERNAME_STRING "iotuser?SDK=" OS_NAME "&Version=" OS_VERSION "&Platform=" HARDWARE_PLATFORM_NAME "&MQTTLib=" MQTT_LIB
#define USERNAME_STRING_LENGTH ( ( uint16_t ) ( sizeof( USERNAME_STRING ) - 1 ) )
Expand Down

0 comments on commit a9bc6b8

Please sign in to comment.