refactor(gw): rename all gateway application name
This commit is contained in:
parent
f01e2f358b
commit
0a62d6c556
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 148 KiB |
|
@ -1,4 +1,4 @@
|
|||
{application, emqx_coap, [
|
||||
{application, emqx_gateway_coap, [
|
||||
{description, "CoAP Gateway"},
|
||||
{vsn, "0.1.0"},
|
||||
{registered, []},
|
|
@ -15,7 +15,7 @@
|
|||
%%--------------------------------------------------------------------
|
||||
|
||||
%% @doc The CoAP Gateway implement
|
||||
-module(emqx_coap).
|
||||
-module(emqx_gateway_coap).
|
||||
|
||||
-include_lib("emqx/include/logger.hrl").
|
||||
-include_lib("emqx_gateway/include/emqx_gateway.hrl").
|
|
@ -1,4 +1,4 @@
|
|||
{application, emqx_exproto, [
|
||||
{application, emqx_gateway_exproto, [
|
||||
{description, "ExProto Gateway"},
|
||||
{vsn, "0.1.0"},
|
||||
{registered, []},
|
|
@ -15,7 +15,7 @@
|
|||
%%--------------------------------------------------------------------
|
||||
|
||||
%% @doc The ExProto Gateway implement
|
||||
-module(emqx_exproto).
|
||||
-module(emqx_gateway_exproto).
|
||||
|
||||
-include_lib("emqx/include/logger.hrl").
|
||||
-include_lib("emqx_gateway/include/emqx_gateway.hrl").
|
|
@ -1,8 +1,8 @@
|
|||
{application, emqx_lwm2m, [
|
||||
{application, emqx_gateway_lwm2m, [
|
||||
{description, "LwM2M Gateway"},
|
||||
{vsn, "0.1.0"},
|
||||
{registered, []},
|
||||
{applications, [kernel, stdlib, emqx, emqx_gateway, emqx_coap]},
|
||||
{applications, [kernel, stdlib, emqx, emqx_gateway, emqx_gateway_coap]},
|
||||
{env, []},
|
||||
{modules, []},
|
||||
{licenses, ["Apache 2.0"]},
|
|
@ -15,7 +15,7 @@
|
|||
%%--------------------------------------------------------------------
|
||||
|
||||
%% @doc The LwM2M Gateway implement
|
||||
-module(emqx_lwm2m).
|
||||
-module(emqx_gateway_lwm2m).
|
||||
|
||||
-include_lib("emqx/include/logger.hrl").
|
||||
-include_lib("emqx_gateway/include/emqx_gateway.hrl").
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
-include("emqx_lwm2m.hrl").
|
||||
-include_lib("emqx/include/logger.hrl").
|
||||
-include_lib("emqx_coap/include/emqx_coap.hrl").
|
||||
-include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
|
||||
|
||||
%% API
|
||||
-export([
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
-include("emqx_lwm2m.hrl").
|
||||
-include_lib("emqx/include/logger.hrl").
|
||||
-include_lib("emqx_coap/include/emqx_coap.hrl").
|
||||
-include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
|
||||
|
||||
-export([
|
||||
mqtt_to_coap/2,
|
|
@ -20,7 +20,7 @@
|
|||
-include_lib("emqx/include/emqx.hrl").
|
||||
-include_lib("emqx/include/emqx_mqtt.hrl").
|
||||
-include_lib("snabbkaffe/include/snabbkaffe.hrl").
|
||||
-include_lib("emqx_coap/include/emqx_coap.hrl").
|
||||
-include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
|
||||
|
||||
%% API
|
||||
-export([
|
|
@ -32,7 +32,7 @@
|
|||
-define(LOGT(Format, Args), ct:pal("TEST_SUITE: " ++ Format, Args)).
|
||||
|
||||
-include("emqx_lwm2m.hrl").
|
||||
-include_lib("emqx_coap/include/emqx_coap.hrl").
|
||||
-include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("snabbkaffe/include/snabbkaffe.hrl").
|
|
@ -24,7 +24,7 @@
|
|||
-define(LOGT(Format, Args), ct:pal("TEST_SUITE: " ++ Format, Args)).
|
||||
|
||||
-include("emqx_lwm2m.hrl").
|
||||
-include("emqx_coap/include/emqx_coap.hrl").
|
||||
-include("emqx_gateway_coap/include/emqx_coap.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
-define(LOGT(Format, Args), logger:debug("TEST_SUITE: " ++ Format, Args)).
|
||||
|
||||
-include("emqx_lwm2m.hrl").
|
||||
-include("emqx_coap/include/emqx_coap.hrl").
|
||||
-include("emqx_gateway_coap/include/emqx_coap.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
%%--------------------------------------------------------------------
|
|
@ -1,4 +1,4 @@
|
|||
{application, emqx_mqttsn, [
|
||||
{application, emqx_gateway_mqttsn, [
|
||||
{description, "MQTT-SN Gateway"},
|
||||
{vsn, "0.1.0"},
|
||||
{registered, []},
|
|
@ -15,7 +15,7 @@
|
|||
%%--------------------------------------------------------------------
|
||||
|
||||
%% @doc The MQTT-SN Gateway implement interface
|
||||
-module(emqx_mqttsn).
|
||||
-module(emqx_gateway_mqttsn).
|
||||
|
||||
-include_lib("emqx/include/logger.hrl").
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue