/**@file @brief L3 Radio Resource messages related to GPRS */ /* * Copyright 2008, 2010 Free Software Foundation, Inc. * Copyright 2011 Kestrel Signal Processing, Inc. * Copyright 2014 Range Networks, Inc. * * This software is distributed under multiple licenses; see the COPYING file in the main directory for licensing information for this specific distribution. * * This use of this software may be subject to additional restrictions. * See the LEGAL file in the main directory for details. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ #define LOG_GROUP LogGroup::GSM // Can set Log.Level.GSM for debugging #include #include #include "GSML3RRMessages.h" #include "../GPRS/GPRSExport.h" #include namespace GSM { // GSM 04.60 sec 12.24 void L3GPRSCellOptions::writeBits(L3Frame& dest, size_t &wp) const { GPRS::GPRSCellOptions_t& gco = GPRS::GPRSGetCellOptions(); dest.writeField(wp,gco.mNMO,2); dest.writeField(wp,gco.mT3168Code,3); dest.writeField(wp,gco.mT3192Code,3); dest.writeField(wp,gco.mDRX_TIMER_MAX,3); dest.writeField(wp,gco.mACCESS_BURST_TYPE,1); dest.writeField(wp,gco.mCONTROL_ACK_TYPE,1); dest.writeField(wp,gco.mBS_CV_MAX,4); dest.writeField(wp,0,1); // optional PAN_ fields omitted. LOG(INFO)<< "beacon"<