SNMP agent attached to SPI slave

Dependencies:   mbed

Committer:
lorcansmith
Date:
Mon Aug 13 15:07:40 2012 +0000
Revision:
0:2a53a4c3238c
v1.1 release includes ioAlarm traps

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lorcansmith 0:2a53a4c3238c 1
lorcansmith 0:2a53a4c3238c 2 /*
lorcansmith 0:2a53a4c3238c 3 Copyright (c) 2010 Donatien Garnier (donatiengar [at] gmail [dot] com)
lorcansmith 0:2a53a4c3238c 4
lorcansmith 0:2a53a4c3238c 5 Permission is hereby granted, free of charge, to any person obtaining a copy
lorcansmith 0:2a53a4c3238c 6 of this software and associated documentation files (the "Software"), to deal
lorcansmith 0:2a53a4c3238c 7 in the Software without restriction, including without limitation the rights
lorcansmith 0:2a53a4c3238c 8 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
lorcansmith 0:2a53a4c3238c 9 copies of the Software, and to permit persons to whom the Software is
lorcansmith 0:2a53a4c3238c 10 furnished to do so, subject to the following conditions:
lorcansmith 0:2a53a4c3238c 11
lorcansmith 0:2a53a4c3238c 12 The above copyright notice and this permission notice shall be included in
lorcansmith 0:2a53a4c3238c 13 all copies or substantial portions of the Software.
lorcansmith 0:2a53a4c3238c 14
lorcansmith 0:2a53a4c3238c 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
lorcansmith 0:2a53a4c3238c 16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
lorcansmith 0:2a53a4c3238c 17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
lorcansmith 0:2a53a4c3238c 18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
lorcansmith 0:2a53a4c3238c 19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
lorcansmith 0:2a53a4c3238c 20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
lorcansmith 0:2a53a4c3238c 21 THE SOFTWARE.
lorcansmith 0:2a53a4c3238c 22 */
lorcansmith 0:2a53a4c3238c 23
lorcansmith 0:2a53a4c3238c 24 #include "rpc.h"
lorcansmith 0:2a53a4c3238c 25
lorcansmith 0:2a53a4c3238c 26 #include "UsbSerial.h"
lorcansmith 0:2a53a4c3238c 27
lorcansmith 0:2a53a4c3238c 28 //#define __DEBUG
lorcansmith 0:2a53a4c3238c 29 #include "dbg/dbg.h"
lorcansmith 0:2a53a4c3238c 30
lorcansmith 0:2a53a4c3238c 31 #include "netCfg.h"
lorcansmith 0:2a53a4c3238c 32 #if NET_USB_SERIAL
lorcansmith 0:2a53a4c3238c 33
lorcansmith 0:2a53a4c3238c 34 namespace mbed {
lorcansmith 0:2a53a4c3238c 35
lorcansmith 0:2a53a4c3238c 36 #define BUF_LEN 64
lorcansmith 0:2a53a4c3238c 37 #define FLUSH_TMOUT 100000 //US
lorcansmith 0:2a53a4c3238c 38
lorcansmith 0:2a53a4c3238c 39 UsbSerial::UsbSerial(UsbDevice* pDevice, int epIn, int epOut, const char* name /*= NULL*/) : Stream(name), m_epIn(pDevice, epIn, true, USB_BULK, BUF_LEN), m_epOut(pDevice, epOut, false, USB_BULK, BUF_LEN),
lorcansmith 0:2a53a4c3238c 40 m_pInCbItem(NULL), m_pInCbMeth(NULL), m_pOutCbItem(NULL), m_pOutCbMeth(NULL)
lorcansmith 0:2a53a4c3238c 41 {
lorcansmith 0:2a53a4c3238c 42 m_inBufEven = new char[BUF_LEN];
lorcansmith 0:2a53a4c3238c 43 m_inBufOdd = new char[BUF_LEN];
lorcansmith 0:2a53a4c3238c 44 m_pInBufPos = m_inBufUsr = m_inBufEven;
lorcansmith 0:2a53a4c3238c 45 m_inBufTrmt = m_inBufOdd;
lorcansmith 0:2a53a4c3238c 46
lorcansmith 0:2a53a4c3238c 47 m_outBufEven = new char[BUF_LEN];
lorcansmith 0:2a53a4c3238c 48 m_outBufOdd = new char[BUF_LEN];
lorcansmith 0:2a53a4c3238c 49 m_pOutBufPos = m_outBufUsr = m_outBufEven;
lorcansmith 0:2a53a4c3238c 50 m_outBufTrmt = m_outBufOdd;
lorcansmith 0:2a53a4c3238c 51
lorcansmith 0:2a53a4c3238c 52 m_inBufLen = m_outBufLen = 0;
lorcansmith 0:2a53a4c3238c 53
lorcansmith 0:2a53a4c3238c 54 DBG("Starting RX'ing on in ep\n");
lorcansmith 0:2a53a4c3238c 55
lorcansmith 0:2a53a4c3238c 56 m_timeout = false;
lorcansmith 0:2a53a4c3238c 57
lorcansmith 0:2a53a4c3238c 58 m_epIn.setOnCompletion(this, &UsbSerial::onEpInTransfer);
lorcansmith 0:2a53a4c3238c 59 m_epOut.setOnCompletion(this, &UsbSerial::onEpOutTransfer);
lorcansmith 0:2a53a4c3238c 60
lorcansmith 0:2a53a4c3238c 61 startRx();
lorcansmith 0:2a53a4c3238c 62 }
lorcansmith 0:2a53a4c3238c 63
lorcansmith 0:2a53a4c3238c 64 UsbSerial::~UsbSerial()
lorcansmith 0:2a53a4c3238c 65 {
lorcansmith 0:2a53a4c3238c 66 delete[] m_inBufEven;
lorcansmith 0:2a53a4c3238c 67 delete[] m_inBufOdd;
lorcansmith 0:2a53a4c3238c 68 delete[] m_outBufEven;
lorcansmith 0:2a53a4c3238c 69 delete[] m_outBufOdd;
lorcansmith 0:2a53a4c3238c 70 }
lorcansmith 0:2a53a4c3238c 71
lorcansmith 0:2a53a4c3238c 72 void UsbSerial::baud(int baudrate) {
lorcansmith 0:2a53a4c3238c 73 //
lorcansmith 0:2a53a4c3238c 74 }
lorcansmith 0:2a53a4c3238c 75
lorcansmith 0:2a53a4c3238c 76 void UsbSerial::format(int bits, int parity, int stop) {
lorcansmith 0:2a53a4c3238c 77 //
lorcansmith 0:2a53a4c3238c 78 }
lorcansmith 0:2a53a4c3238c 79
lorcansmith 0:2a53a4c3238c 80 #if 0 //For doc only
lorcansmith 0:2a53a4c3238c 81 template <class T>
lorcansmith 0:2a53a4c3238c 82 void attach(T* pCbItem, void (T::*pCbMeth)())
lorcansmith 0:2a53a4c3238c 83 {
lorcansmith 0:2a53a4c3238c 84 m_pCbItem = (CDummy*) pCbItem;
lorcansmith 0:2a53a4c3238c 85 m_pCbMeth = (void (CDummy::*)()) pCbMeth;
lorcansmith 0:2a53a4c3238c 86 }
lorcansmith 0:2a53a4c3238c 87 #endif
lorcansmith 0:2a53a4c3238c 88
lorcansmith 0:2a53a4c3238c 89 int UsbSerial::_getc() {
lorcansmith 0:2a53a4c3238c 90 NVIC_DisableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 91 NVIC_DisableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 92 char c;
lorcansmith 0:2a53a4c3238c 93 c = *m_pInBufPos;
lorcansmith 0:2a53a4c3238c 94 m_pInBufPos++;
lorcansmith 0:2a53a4c3238c 95 NVIC_EnableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 96 NVIC_EnableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 97 return c;
lorcansmith 0:2a53a4c3238c 98 }
lorcansmith 0:2a53a4c3238c 99
lorcansmith 0:2a53a4c3238c 100 int UsbSerial::_putc(int c) {
lorcansmith 0:2a53a4c3238c 101 NVIC_DisableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 102 NVIC_DisableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 103 if( (m_pOutBufPos - m_outBufUsr) < BUF_LEN )
lorcansmith 0:2a53a4c3238c 104 {
lorcansmith 0:2a53a4c3238c 105 *m_pOutBufPos = (char) c;
lorcansmith 0:2a53a4c3238c 106 m_pOutBufPos++;
lorcansmith 0:2a53a4c3238c 107 }
lorcansmith 0:2a53a4c3238c 108 else
lorcansmith 0:2a53a4c3238c 109 {
lorcansmith 0:2a53a4c3238c 110 DBG("NO WAY!!!\n");
lorcansmith 0:2a53a4c3238c 111 }
lorcansmith 0:2a53a4c3238c 112 #if 1
lorcansmith 0:2a53a4c3238c 113 if( (m_pOutBufPos - m_outBufUsr) >= BUF_LEN ) //Must flush
lorcansmith 0:2a53a4c3238c 114 {
lorcansmith 0:2a53a4c3238c 115 if(m_timeout)
lorcansmith 0:2a53a4c3238c 116 m_txTimeout.detach();
lorcansmith 0:2a53a4c3238c 117 startTx();
lorcansmith 0:2a53a4c3238c 118 }
lorcansmith 0:2a53a4c3238c 119 else
lorcansmith 0:2a53a4c3238c 120 {
lorcansmith 0:2a53a4c3238c 121 /*if(m_timeout)
lorcansmith 0:2a53a4c3238c 122 m_txTimeout.detach();
lorcansmith 0:2a53a4c3238c 123 m_timeout = true;
lorcansmith 0:2a53a4c3238c 124 m_txTimeout.attach_us(this, &UsbSerial::startTx, FLUSH_TMOUT);*/
lorcansmith 0:2a53a4c3238c 125 if(!m_timeout)
lorcansmith 0:2a53a4c3238c 126 {
lorcansmith 0:2a53a4c3238c 127 m_timeout = true;
lorcansmith 0:2a53a4c3238c 128 m_txTimeout.attach_us(this, &UsbSerial::startTx, FLUSH_TMOUT);
lorcansmith 0:2a53a4c3238c 129 }
lorcansmith 0:2a53a4c3238c 130 }
lorcansmith 0:2a53a4c3238c 131 #endif
lorcansmith 0:2a53a4c3238c 132 //startTx();
lorcansmith 0:2a53a4c3238c 133 NVIC_EnableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 134 NVIC_EnableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 135 return c;
lorcansmith 0:2a53a4c3238c 136 }
lorcansmith 0:2a53a4c3238c 137
lorcansmith 0:2a53a4c3238c 138 int UsbSerial::readable() {
lorcansmith 0:2a53a4c3238c 139 NVIC_DisableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 140 NVIC_DisableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 141 int res;
lorcansmith 0:2a53a4c3238c 142 if( (m_pInBufPos - m_inBufUsr) < m_inBufLen )
lorcansmith 0:2a53a4c3238c 143 {
lorcansmith 0:2a53a4c3238c 144 //DBG("\r\nREADABLE\r\n");
lorcansmith 0:2a53a4c3238c 145 res = true;
lorcansmith 0:2a53a4c3238c 146 }
lorcansmith 0:2a53a4c3238c 147 else
lorcansmith 0:2a53a4c3238c 148 {
lorcansmith 0:2a53a4c3238c 149 //DBG("\r\nNOT READABLE\r\n");
lorcansmith 0:2a53a4c3238c 150 startRx(); //Try to swap packets & start another transmission
lorcansmith 0:2a53a4c3238c 151 res = ((m_pInBufPos - m_inBufUsr) < m_inBufLen )?true:false;
lorcansmith 0:2a53a4c3238c 152 }
lorcansmith 0:2a53a4c3238c 153 NVIC_EnableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 154 NVIC_EnableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 155 return (bool)res;
lorcansmith 0:2a53a4c3238c 156 }
lorcansmith 0:2a53a4c3238c 157
lorcansmith 0:2a53a4c3238c 158 int UsbSerial::writeable() {
lorcansmith 0:2a53a4c3238c 159 NVIC_DisableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 160 NVIC_DisableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 161 // DBG("\r\nWRITEABLE???\r\n");
lorcansmith 0:2a53a4c3238c 162 int res = (bool)( (m_pOutBufPos - m_outBufUsr) < BUF_LEN);
lorcansmith 0:2a53a4c3238c 163 NVIC_EnableIRQ(USB_IRQn);
lorcansmith 0:2a53a4c3238c 164 NVIC_EnableIRQ(US_TICKER_TIMER_IRQn);
lorcansmith 0:2a53a4c3238c 165 return res;
lorcansmith 0:2a53a4c3238c 166 }
lorcansmith 0:2a53a4c3238c 167
lorcansmith 0:2a53a4c3238c 168 void UsbSerial::onReadable()
lorcansmith 0:2a53a4c3238c 169 {
lorcansmith 0:2a53a4c3238c 170 if(m_pInCbItem && m_pInCbMeth)
lorcansmith 0:2a53a4c3238c 171 (m_pInCbItem->*m_pInCbMeth)();
lorcansmith 0:2a53a4c3238c 172 }
lorcansmith 0:2a53a4c3238c 173
lorcansmith 0:2a53a4c3238c 174 void UsbSerial::onWriteable()
lorcansmith 0:2a53a4c3238c 175 {
lorcansmith 0:2a53a4c3238c 176 if(m_pOutCbItem && m_pOutCbMeth)
lorcansmith 0:2a53a4c3238c 177 (m_pOutCbItem->*m_pOutCbMeth)();
lorcansmith 0:2a53a4c3238c 178 }
lorcansmith 0:2a53a4c3238c 179
lorcansmith 0:2a53a4c3238c 180 void UsbSerial::onEpInTransfer()
lorcansmith 0:2a53a4c3238c 181 {
lorcansmith 0:2a53a4c3238c 182 int len = m_epIn.status();
lorcansmith 0:2a53a4c3238c 183 DBG("RX transfer completed w len=%d\n",len);
lorcansmith 0:2a53a4c3238c 184 startRx();
lorcansmith 0:2a53a4c3238c 185 if(len > 0)
lorcansmith 0:2a53a4c3238c 186 onReadable();
lorcansmith 0:2a53a4c3238c 187 }
lorcansmith 0:2a53a4c3238c 188
lorcansmith 0:2a53a4c3238c 189 void UsbSerial::onEpOutTransfer()
lorcansmith 0:2a53a4c3238c 190 {
lorcansmith 0:2a53a4c3238c 191 int len = m_epOut.status();
lorcansmith 0:2a53a4c3238c 192 DBG("TX transfer completed w len=%d\n",len);
lorcansmith 0:2a53a4c3238c 193 if(m_timeout)
lorcansmith 0:2a53a4c3238c 194 m_txTimeout.detach();
lorcansmith 0:2a53a4c3238c 195 startTx();
lorcansmith 0:2a53a4c3238c 196 if(len > 0)
lorcansmith 0:2a53a4c3238c 197 onWriteable();
lorcansmith 0:2a53a4c3238c 198 }
lorcansmith 0:2a53a4c3238c 199
lorcansmith 0:2a53a4c3238c 200 void UsbSerial::startTx()
lorcansmith 0:2a53a4c3238c 201 {
lorcansmith 0:2a53a4c3238c 202
lorcansmith 0:2a53a4c3238c 203 DBG("Transfer>\n");
lorcansmith 0:2a53a4c3238c 204
lorcansmith 0:2a53a4c3238c 205 m_timeout = false;
lorcansmith 0:2a53a4c3238c 206
lorcansmith 0:2a53a4c3238c 207 // m_txTimeout.detach();
lorcansmith 0:2a53a4c3238c 208
lorcansmith 0:2a53a4c3238c 209 if(!(m_pOutBufPos - m_outBufUsr))
lorcansmith 0:2a53a4c3238c 210 {
lorcansmith 0:2a53a4c3238c 211 DBG("?!?!?\n");
lorcansmith 0:2a53a4c3238c 212 return;
lorcansmith 0:2a53a4c3238c 213 }
lorcansmith 0:2a53a4c3238c 214
lorcansmith 0:2a53a4c3238c 215 if( m_epOut.status() == USBERR_PROCESSING )
lorcansmith 0:2a53a4c3238c 216 {
lorcansmith 0:2a53a4c3238c 217 //Wait & retry
lorcansmith 0:2a53a4c3238c 218 //m_timeout = true;
lorcansmith 0:2a53a4c3238c 219 //m_txTimeout.attach_us(this, &UsbSerial::startTx, FLUSH_TMOUT);
lorcansmith 0:2a53a4c3238c 220 DBG("Ep is busy...\n");
lorcansmith 0:2a53a4c3238c 221 return;
lorcansmith 0:2a53a4c3238c 222 }
lorcansmith 0:2a53a4c3238c 223
lorcansmith 0:2a53a4c3238c 224 if( m_epOut.status() < 0 )
lorcansmith 0:2a53a4c3238c 225 {
lorcansmith 0:2a53a4c3238c 226 DBG("Tx trying again...\n");
lorcansmith 0:2a53a4c3238c 227 m_epOut.transfer((volatile uint8_t*)m_outBufTrmt, m_outBufLen);
lorcansmith 0:2a53a4c3238c 228 return;
lorcansmith 0:2a53a4c3238c 229 }
lorcansmith 0:2a53a4c3238c 230
lorcansmith 0:2a53a4c3238c 231 m_outBufLen = m_pOutBufPos - m_outBufUsr;
lorcansmith 0:2a53a4c3238c 232
lorcansmith 0:2a53a4c3238c 233 //Swap buffers
lorcansmith 0:2a53a4c3238c 234 volatile char* swapBuf = m_outBufUsr;
lorcansmith 0:2a53a4c3238c 235 m_outBufUsr = m_outBufTrmt;
lorcansmith 0:2a53a4c3238c 236 m_outBufTrmt = swapBuf;
lorcansmith 0:2a53a4c3238c 237
lorcansmith 0:2a53a4c3238c 238 m_epOut.transfer((volatile uint8_t*)m_outBufTrmt, m_outBufLen);
lorcansmith 0:2a53a4c3238c 239
lorcansmith 0:2a53a4c3238c 240 m_pOutBufPos = m_outBufUsr;
lorcansmith 0:2a53a4c3238c 241
lorcansmith 0:2a53a4c3238c 242 }
lorcansmith 0:2a53a4c3238c 243
lorcansmith 0:2a53a4c3238c 244 void UsbSerial::startRx()
lorcansmith 0:2a53a4c3238c 245 {
lorcansmith 0:2a53a4c3238c 246 if( (m_pInBufPos - m_inBufUsr) < m_inBufLen )
lorcansmith 0:2a53a4c3238c 247 {
lorcansmith 0:2a53a4c3238c 248 //User buf is not empty, cannot swap now...
lorcansmith 0:2a53a4c3238c 249 return;
lorcansmith 0:2a53a4c3238c 250 }
lorcansmith 0:2a53a4c3238c 251 int len = m_epIn.status();
lorcansmith 0:2a53a4c3238c 252 if( len == USBERR_PROCESSING )
lorcansmith 0:2a53a4c3238c 253 {
lorcansmith 0:2a53a4c3238c 254 //Previous transmission not completed
lorcansmith 0:2a53a4c3238c 255 return;
lorcansmith 0:2a53a4c3238c 256 }
lorcansmith 0:2a53a4c3238c 257 if( len < 0 )
lorcansmith 0:2a53a4c3238c 258 {
lorcansmith 0:2a53a4c3238c 259 DBG("Rx trying again...\n");
lorcansmith 0:2a53a4c3238c 260 m_epIn.transfer((volatile uint8_t*)m_inBufTrmt, BUF_LEN); //Start another transmission
lorcansmith 0:2a53a4c3238c 261 return;
lorcansmith 0:2a53a4c3238c 262 }
lorcansmith 0:2a53a4c3238c 263
lorcansmith 0:2a53a4c3238c 264 m_inBufLen = len;
lorcansmith 0:2a53a4c3238c 265
lorcansmith 0:2a53a4c3238c 266 //Swap buffers
lorcansmith 0:2a53a4c3238c 267 volatile char* swapBuf = m_inBufUsr;
lorcansmith 0:2a53a4c3238c 268 m_inBufUsr = m_inBufTrmt;
lorcansmith 0:2a53a4c3238c 269 m_inBufTrmt = swapBuf;
lorcansmith 0:2a53a4c3238c 270 m_pInBufPos = m_inBufUsr;
lorcansmith 0:2a53a4c3238c 271
lorcansmith 0:2a53a4c3238c 272 DBG("Starting new transfer\n");
lorcansmith 0:2a53a4c3238c 273 m_epIn.transfer((volatile uint8_t*)m_inBufTrmt, BUF_LEN); //Start another transmission
lorcansmith 0:2a53a4c3238c 274
lorcansmith 0:2a53a4c3238c 275 }
lorcansmith 0:2a53a4c3238c 276
lorcansmith 0:2a53a4c3238c 277 #ifdef MBED_RPC
lorcansmith 0:2a53a4c3238c 278 const struct rpc_method *UsbSerial::get_rpc_methods() {
lorcansmith 0:2a53a4c3238c 279 static const rpc_method methods[] = {
lorcansmith 0:2a53a4c3238c 280 { "readable", rpc_method_caller<int, UsbSerial, &UsbSerial::readable> },
lorcansmith 0:2a53a4c3238c 281 { "writeable", rpc_method_caller<int, UsbSerial, &UsbSerial::writeable> },
lorcansmith 0:2a53a4c3238c 282 RPC_METHOD_SUPER(Stream)
lorcansmith 0:2a53a4c3238c 283 };
lorcansmith 0:2a53a4c3238c 284 return methods;
lorcansmith 0:2a53a4c3238c 285 }
lorcansmith 0:2a53a4c3238c 286
lorcansmith 0:2a53a4c3238c 287 struct rpc_class *UsbSerial::get_rpc_class() {
lorcansmith 0:2a53a4c3238c 288 static const rpc_function funcs[] = {
lorcansmith 0:2a53a4c3238c 289 /*{ "new", rpc_function_caller<const char*, UsbDevice*, int, int, const char*, Base::construct<UsbSerial,UsbDevice*,int,int,const char*> > },*/ //RPC is buggy
lorcansmith 0:2a53a4c3238c 290 RPC_METHOD_END
lorcansmith 0:2a53a4c3238c 291 };
lorcansmith 0:2a53a4c3238c 292 static rpc_class c = { "UsbSerial", funcs, NULL };
lorcansmith 0:2a53a4c3238c 293 return &c;
lorcansmith 0:2a53a4c3238c 294 }
lorcansmith 0:2a53a4c3238c 295 #endif
lorcansmith 0:2a53a4c3238c 296
lorcansmith 0:2a53a4c3238c 297 } // namespace mbed
lorcansmith 0:2a53a4c3238c 298
lorcansmith 0:2a53a4c3238c 299 #endif
lorcansmith 0:2a53a4c3238c 300