DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `srt`.`lastRFID_add`(vCode VARCHAR(20), vAntennaFk INT, vAntennaPortFk INT, vPeakRssi INT, vSeenCount INT) BEGIN /* Insert a new record in lastRFID table * * @param vCode Char string read by the antenna * @param vAntennaFk Identifier for srt.antenna table */ INSERT INTO srt.lastRFID(code, antennaFk, antennaPort, peakRssi, seenCount) VALUES(vCode, vAntennaFk, vAntennaPortFk , vPeakRssi , vSeenCount ); END$$ DELIMITER ;