mqtt_clientid()
This commit is contained in:
parent
4fe72445fd
commit
2d05d1044a
|
@ -98,10 +98,11 @@
|
||||||
%%------------------------------------------------------------------------------
|
%%------------------------------------------------------------------------------
|
||||||
%% MQTT Packets
|
%% MQTT Packets
|
||||||
%%------------------------------------------------------------------------------
|
%%------------------------------------------------------------------------------
|
||||||
|
-type mqtt_clientid() :: binary().
|
||||||
-type mqtt_packet_id() :: 1..16#ffff | undefined.
|
-type mqtt_packet_id() :: 1..16#ffff | undefined.
|
||||||
|
|
||||||
-record(mqtt_packet_connect, {
|
-record(mqtt_packet_connect, {
|
||||||
clientid = <<>> :: binary(),
|
clientid = <<>> :: mqtt_clientid(),
|
||||||
proto_ver = ?MQTT_PROTO_V311 :: mqtt_vsn(),
|
proto_ver = ?MQTT_PROTO_V311 :: mqtt_vsn(),
|
||||||
proto_name = <<"MQTT">> :: binary(),
|
proto_name = <<"MQTT">> :: binary(),
|
||||||
will_retain = false :: boolean(),
|
will_retain = false :: boolean(),
|
||||||
|
|
Loading…
Reference in New Issue