Home
last modified time | relevance | path

Searched refs:m_uart (Results 1 – 19 of 19) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Duart.hpp56 m_uart = mraa_uart_init(uart); in Uart()
58 if (m_uart == NULL) { in Uart()
71 m_uart = mraa_uart_init_raw(path.c_str()); in Uart()
73 if (m_uart == NULL) { in Uart()
83 mraa_uart_stop(m_uart); in ~Uart()
95 std::string ret_val(mraa_uart_get_dev_path(m_uart)); in getDevicePath()
109 return mraa_uart_read(m_uart, data, (size_t) length); in read()
122 return mraa_uart_write(m_uart, data, (size_t) length); in write()
135 int v = mraa_uart_read(m_uart, data, (size_t) length); in readStr()
151 return mraa_uart_write(m_uart, data.c_str(), (data.length())); in writeStr()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/grovegprs/
Dgrovegprs.cxx35 m_uart(uart) in GroveGPRS()
45 return m_uart.dataAvailable(millis); in dataAvailable()
50 return m_uart.read(buffer, len); in readData()
55 return m_uart.readStr(len); in readDataStr()
60 m_uart.flush(); in writeData()
61 return m_uart.write(buffer, len); in writeData()
66 m_uart.flush(); in writeDataStr()
67 return m_uart.writeStr(data); in writeDataStr()
72 return m_uart.setBaudRate(baud); in setBaudRate()
Dgrovegprs.h148 mraa::Uart m_uart;
/hardware/bsp/intel/peripheral/libupm/src/hm11/
Dhm11.cxx40 if ( !(m_uart = mraa_uart_init(uart)) ) in HM11()
48 const char *devPath = mraa_uart_get_dev_path(m_uart); in HM11()
Dhm11.h139 mraa_uart_context m_uart;
/hardware/bsp/intel/peripheral/libupm/src/ublox6/
Dublox6.cxx38 if ( !(m_uart = mraa_uart_init(uart)) ) in Ublox6()
46 const char *devPath = mraa_uart_get_dev_path(m_uart); in Ublox6()
Dublox6.h125 mraa_uart_context m_uart;
/hardware/bsp/intel/peripheral/libupm/src/mhz16/
Dmhz16.cxx40 if ( !(m_uart = mraa_uart_init(uart)) ) in MHZ16()
48 const char *devPath = mraa_uart_get_dev_path(m_uart); in MHZ16()
Dmhz16.h157 mraa_uart_context m_uart;
/hardware/bsp/intel/peripheral/libupm/src/sm130/
Dsm130.cxx40 m_uart(uart), m_gpioReset(reset) in SM130()
59 return m_uart.setBaudRate(baud); in setBaudRate()
102 m_uart.writeStr(command); in sendCommand()
113 if (!m_uart.dataAvailable(defaultDelay)) in sendCommand()
119 string resp = m_uart.readStr(maxLen); in sendCommand()
Dsm130.h440 mraa::Uart m_uart;
/hardware/bsp/intel/peripheral/libupm/src/grovescam/
Dgrovescam.h186 mraa_uart_context m_uart;
Dgrovescam.cxx48 if ( !(m_uart = mraa_uart_init(uart)) ) in GROVESCAM()
56 const char *devPath = mraa_uart_get_dev_path(m_uart); in GROVESCAM()
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/
Dhmtrp.h248 mraa_uart_context m_uart;
Dhmtrp.cxx44 if ( !(m_uart = mraa_uart_init(uart)) ) in HMTRP()
52 const char *devPath = mraa_uart_get_dev_path(m_uart); in HMTRP()
/hardware/bsp/intel/peripheral/libupm/src/wt5001/
Dwt5001.h345 mraa_uart_context m_uart;
Dwt5001.cxx41 if ( !(m_uart = mraa_uart_init(uart)) ) in WT5001()
49 const char *devPath = mraa_uart_get_dev_path(m_uart); in WT5001()
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.h371 mraa_uart_context m_uart;
Dzfm20.cxx40 if ( !(m_uart = mraa_uart_init(uart)) ) in ZFM20()
48 const char *devPath = mraa_uart_get_dev_path(m_uart); in ZFM20()