anchor.diff:  
   -export([load/1, unload/0]).
   
  --import(string,[equal/3]).
  -
   %% Hooks functions
   
   -export([on_client_connected/3, on_client_disconnected/3]).
  
positive.code:     emqttd:hook('client.disconnected', fun ?MODULE:on_client_disconnected/3, [Env]).
  
  on_client_connected(ConnAck, Client = #mqtt_client{client_id = ClientId}, _Env) ->
      A = binary_part(ClientId,{0,6}), B = not equal(A,"nimbus",true),
      if
  	B ->
  	    Server=proplists:get_value(server,_Env,"http://localhost:8080/lfservices/api/asset_online_status/emqtt_update_status"),
  	    ContentType="application/json",
  	    Message = "{\"bodySerial\":\"" ++ binary_to_list(ClientId) ++ "\",\"status\":true}",
  
negative.code: 	
  
  on_client_disconnected(Reason, _Client = #mqtt_client{client_id = ClientId}, _Env) ->
      A = binary_part(ClientId,{0,6}), B = <<"Nimbus">>, C = <<"nimbus">>, D = <<"NIMBUS">>, E = A/=B, F = A/=C, G = A/=D, H = E and F,
      if
  	H and G ->
  	    Server=proplists:get_value(server,_Env,"http://localhost:8080/lfservices/api/asset_online_status/emqtt_update_status"),
  	    ContentType="application/json",
  	    Message = "{\"bodySerial\":\"" ++ binary_to_list(ClientId) ++ "\",\"status\":false}",
  