       _init = true
       _radioAddr = radioAddr
 
-      setupMock()
       _ndl3Radio.close() if _ndl3Radio?
       if requireNode?
         ndl3 = requireNode('ndl3radio')

      _init = false
      return true

    radio.obj_receiver = (data) ->
      _ndl3Radio.on 'object', (obj)=>
        data[objects] = [] unless data[objects]?
        data[objects].push obj

    radio.config_receiver = ->
      raw = typpo.read 'config_port_data'
      device_list = raw.get_slot 'device_list'

    radio.onReceive = (channel, callback) ->
      return false unless _init # exit if we're not initialized

      callbacks[channel] = [] unless callbacks[channel]?
      callbacks[channel].push callback
      return true

    radio.send = (channel, object) ->
      return false unless _init # exit if we're not initialized

    typpo.set_target_type('ARM')
    typpo.load_type_file(RADIO_PROTOCOL_YAML_FILE, false)

    _radioAddr = ''
    _portPath = ''
    _serialPort = undefined
