Rename 'MAX_LEN' to 'MAX_PACKET_LEN'

This commit is contained in:
Feng Lee 2017-02-21 20:09:31 +08:00
parent 498915e5b3
commit de12c58af0
1 changed files with 6 additions and 1 deletions

View File

@ -129,11 +129,16 @@
-type(mqtt_connack() :: ?CONNACK_ACCEPT..?CONNACK_AUTH).
%%--------------------------------------------------------------------
%% Max MQTT Packet Length
%%--------------------------------------------------------------------
-define(MAX_PACKET_LEN, 16#fffffff).
%%--------------------------------------------------------------------
%% MQTT Parser and Serializer
%%--------------------------------------------------------------------
-define(MAX_LEN, 16#fffffff).
-define(HIGHBIT, 2#10000000).
-define(LOWBITS, 2#01111111).