Rename 'MAX_LEN' to 'MAX_PACKET_LEN'
This commit is contained in:
parent
498915e5b3
commit
de12c58af0
|
@ -129,11 +129,16 @@
|
||||||
|
|
||||||
-type(mqtt_connack() :: ?CONNACK_ACCEPT..?CONNACK_AUTH).
|
-type(mqtt_connack() :: ?CONNACK_ACCEPT..?CONNACK_AUTH).
|
||||||
|
|
||||||
|
%%--------------------------------------------------------------------
|
||||||
|
%% Max MQTT Packet Length
|
||||||
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
|
-define(MAX_PACKET_LEN, 16#fffffff).
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%% MQTT Parser and Serializer
|
%% MQTT Parser and Serializer
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
-define(MAX_LEN, 16#fffffff).
|
|
||||||
-define(HIGHBIT, 2#10000000).
|
-define(HIGHBIT, 2#10000000).
|
||||||
-define(LOWBITS, 2#01111111).
|
-define(LOWBITS, 2#01111111).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue