class FieldAgent implements IOFogModule {

    public void sendUSBInfoFromHalToController() {
    	logDebug("Start send USB Info from hal To Controller");
        if (notProvisioned()) {
            return;
        }
        Optional<StringBuilder> response = getResponse(USB_INFO_URL);
        if (isResponseValid(response)) {
            String usbInfo = response.get().toString();
            StatusReporter.setResourceManagerStatus().setUsbConnectionsInfo(usbInfo);

            JsonObject json = Json.createObjectBuilder()
                    .add("info", usbInfo)
                    .build();
            try {
                orchestrator.request(COMMAND_USB_INFO, RequestType.PUT, null, json);
            } catch (Exception e) {
                LoggingService.logError(MODULE_NAME, "Error while sending USBInfo from hal to controller",
                		new AgentSystemException(e.getMessage(), e));
            }
        }
        logDebug("Finished send USB Info from hal To Controller");
    }

    private  FieldAgent();

}