1 Star 0 Fork 0

成都极趣科技 / chirpstack-api

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
device.pb.go 176.97 KB
一键复制 编辑 原始数据 按行查看 历史
Arya11111 提交于 2024-04-23 11:06 . V1.0
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: as/external/api/device.proto
package api
import (
context "context"
fmt "fmt"
common "gitee.com/dfrobotcd/chirpstack-api/go/common"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
emptypb "google.golang.org/protobuf/types/known/emptypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type StreamDeviceScanningRequest struct {
DevEuiTail string `protobuf:"bytes,1,opt,name=devEuiTail,json=devEUITail,proto3" json:"devEuiTail,omitempty"`
TimeOutMs int32 `protobuf:"varint,2,opt,name=timeOutMs,proto3" json:"timeOutMs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamDeviceScanningRequest) Reset() { *m = StreamDeviceScanningRequest{} }
func (m *StreamDeviceScanningRequest) String() string { return proto.CompactTextString(m) }
func (*StreamDeviceScanningRequest) ProtoMessage() {}
func (*StreamDeviceScanningRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{0}
}
func (m *StreamDeviceScanningRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamDeviceScanningRequest.Unmarshal(m, b)
}
func (m *StreamDeviceScanningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamDeviceScanningRequest.Marshal(b, m, deterministic)
}
func (m *StreamDeviceScanningRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamDeviceScanningRequest.Merge(m, src)
}
func (m *StreamDeviceScanningRequest) XXX_Size() int {
return xxx_messageInfo_StreamDeviceScanningRequest.Size(m)
}
func (m *StreamDeviceScanningRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StreamDeviceScanningRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StreamDeviceScanningRequest proto.InternalMessageInfo
func (m *StreamDeviceScanningRequest) GetDevEuiTail() string {
if m != nil {
return m.DevEuiTail
}
return ""
}
func (m *StreamDeviceScanningRequest) GetTimeOutMs() int32 {
if m != nil {
return m.TimeOutMs
}
return 0
}
type StreamDeviceScanningReponse struct {
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamDeviceScanningReponse) Reset() { *m = StreamDeviceScanningReponse{} }
func (m *StreamDeviceScanningReponse) String() string { return proto.CompactTextString(m) }
func (*StreamDeviceScanningReponse) ProtoMessage() {}
func (*StreamDeviceScanningReponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{1}
}
func (m *StreamDeviceScanningReponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamDeviceScanningReponse.Unmarshal(m, b)
}
func (m *StreamDeviceScanningReponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamDeviceScanningReponse.Marshal(b, m, deterministic)
}
func (m *StreamDeviceScanningReponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamDeviceScanningReponse.Merge(m, src)
}
func (m *StreamDeviceScanningReponse) XXX_Size() int {
return xxx_messageInfo_StreamDeviceScanningReponse.Size(m)
}
func (m *StreamDeviceScanningReponse) XXX_DiscardUnknown() {
xxx_messageInfo_StreamDeviceScanningReponse.DiscardUnknown(m)
}
var xxx_messageInfo_StreamDeviceScanningReponse proto.InternalMessageInfo
func (m *StreamDeviceScanningReponse) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type StreamNFCRequest struct {
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamNFCRequest) Reset() { *m = StreamNFCRequest{} }
func (m *StreamNFCRequest) String() string { return proto.CompactTextString(m) }
func (*StreamNFCRequest) ProtoMessage() {}
func (*StreamNFCRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{2}
}
func (m *StreamNFCRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamNFCRequest.Unmarshal(m, b)
}
func (m *StreamNFCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamNFCRequest.Marshal(b, m, deterministic)
}
func (m *StreamNFCRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamNFCRequest.Merge(m, src)
}
func (m *StreamNFCRequest) XXX_Size() int {
return xxx_messageInfo_StreamNFCRequest.Size(m)
}
func (m *StreamNFCRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StreamNFCRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StreamNFCRequest proto.InternalMessageInfo
func (m *StreamNFCRequest) GetPayload() string {
if m != nil {
return m.Payload
}
return ""
}
func (m *StreamNFCRequest) GetType() string {
if m != nil {
return m.Type
}
return ""
}
type StreamNFCResponse struct {
Progress int32 `protobuf:"varint,1,opt,name=progress,proto3" json:"progress,omitempty"`
// Types that are valid to be assigned to Opt:
//
// *StreamNFCResponse_Empty
// *StreamNFCResponse_Payload
// *StreamNFCResponse_Errors
Opt isStreamNFCResponse_Opt `protobuf_oneof:"opt"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamNFCResponse) Reset() { *m = StreamNFCResponse{} }
func (m *StreamNFCResponse) String() string { return proto.CompactTextString(m) }
func (*StreamNFCResponse) ProtoMessage() {}
func (*StreamNFCResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{3}
}
func (m *StreamNFCResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamNFCResponse.Unmarshal(m, b)
}
func (m *StreamNFCResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamNFCResponse.Marshal(b, m, deterministic)
}
func (m *StreamNFCResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamNFCResponse.Merge(m, src)
}
func (m *StreamNFCResponse) XXX_Size() int {
return xxx_messageInfo_StreamNFCResponse.Size(m)
}
func (m *StreamNFCResponse) XXX_DiscardUnknown() {
xxx_messageInfo_StreamNFCResponse.DiscardUnknown(m)
}
var xxx_messageInfo_StreamNFCResponse proto.InternalMessageInfo
func (m *StreamNFCResponse) GetProgress() int32 {
if m != nil {
return m.Progress
}
return 0
}
type isStreamNFCResponse_Opt interface {
isStreamNFCResponse_Opt()
}
type StreamNFCResponse_Empty struct {
Empty *emptypb.Empty `protobuf:"bytes,2,opt,name=empty,proto3,oneof"`
}
type StreamNFCResponse_Payload struct {
Payload string `protobuf:"bytes,3,opt,name=payload,proto3,oneof"`
}
type StreamNFCResponse_Errors struct {
Errors string `protobuf:"bytes,4,opt,name=errors,proto3,oneof"`
}
func (*StreamNFCResponse_Empty) isStreamNFCResponse_Opt() {}
func (*StreamNFCResponse_Payload) isStreamNFCResponse_Opt() {}
func (*StreamNFCResponse_Errors) isStreamNFCResponse_Opt() {}
func (m *StreamNFCResponse) GetOpt() isStreamNFCResponse_Opt {
if m != nil {
return m.Opt
}
return nil
}
func (m *StreamNFCResponse) GetEmpty() *emptypb.Empty {
if x, ok := m.GetOpt().(*StreamNFCResponse_Empty); ok {
return x.Empty
}
return nil
}
func (m *StreamNFCResponse) GetPayload() string {
if x, ok := m.GetOpt().(*StreamNFCResponse_Payload); ok {
return x.Payload
}
return ""
}
func (m *StreamNFCResponse) GetErrors() string {
if x, ok := m.GetOpt().(*StreamNFCResponse_Errors); ok {
return x.Errors
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*StreamNFCResponse) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*StreamNFCResponse_Empty)(nil),
(*StreamNFCResponse_Payload)(nil),
(*StreamNFCResponse_Errors)(nil),
}
}
type LoraWANConfig struct {
Basic *LoraNodeBasic `protobuf:"bytes,1,opt,name=basic,proto3" json:"basic,omitempty"`
DevEui string `protobuf:"bytes,2,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
JoinEui string `protobuf:"bytes,4,opt,name=join_eui,json=joinEUI,proto3" json:"join_eui,omitempty"`
Appkey string `protobuf:"bytes,5,opt,name=appkey,proto3" json:"appkey,omitempty"`
MacVersion string `protobuf:"bytes,6,opt,name=macVersion,proto3" json:"macVersion,omitempty"`
SupportJoin bool `protobuf:"varint,7,opt,name=support_join,json=supportJoin,proto3" json:"support_join,omitempty"`
Aport int32 `protobuf:"varint,8,opt,name=aport,proto3" json:"aport,omitempty"`
Region string `protobuf:"bytes,9,opt,name=region,proto3" json:"region,omitempty"`
SubBand int32 `protobuf:"varint,10,opt,name=subBand,proto3" json:"subBand,omitempty"`
UpInterval string `protobuf:"bytes,11,opt,name=up_interval,json=upInterval,proto3" json:"up_interval,omitempty"`
Txpower uint32 `protobuf:"varint,12,opt,name=txpower,proto3" json:"txpower,omitempty"`
Datarate int32 `protobuf:"varint,13,opt,name=datarate,proto3" json:"datarate,omitempty"`
Confirm bool `protobuf:"varint,14,opt,name=confirm,proto3" json:"confirm,omitempty"`
Newjoin bool `protobuf:"varint,15,opt,name=newjoin,proto3" json:"newjoin,omitempty"`
Adr bool `protobuf:"varint,16,opt,name=adr,proto3" json:"adr,omitempty"`
Collect *CollectConfig `protobuf:"bytes,17,opt,name=collect,proto3" json:"collect,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoraWANConfig) Reset() { *m = LoraWANConfig{} }
func (m *LoraWANConfig) String() string { return proto.CompactTextString(m) }
func (*LoraWANConfig) ProtoMessage() {}
func (*LoraWANConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{4}
}
func (m *LoraWANConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LoraWANConfig.Unmarshal(m, b)
}
func (m *LoraWANConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LoraWANConfig.Marshal(b, m, deterministic)
}
func (m *LoraWANConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_LoraWANConfig.Merge(m, src)
}
func (m *LoraWANConfig) XXX_Size() int {
return xxx_messageInfo_LoraWANConfig.Size(m)
}
func (m *LoraWANConfig) XXX_DiscardUnknown() {
xxx_messageInfo_LoraWANConfig.DiscardUnknown(m)
}
var xxx_messageInfo_LoraWANConfig proto.InternalMessageInfo
func (m *LoraWANConfig) GetBasic() *LoraNodeBasic {
if m != nil {
return m.Basic
}
return nil
}
func (m *LoraWANConfig) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
func (m *LoraWANConfig) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *LoraWANConfig) GetJoinEui() string {
if m != nil {
return m.JoinEui
}
return ""
}
func (m *LoraWANConfig) GetAppkey() string {
if m != nil {
return m.Appkey
}
return ""
}
func (m *LoraWANConfig) GetMacVersion() string {
if m != nil {
return m.MacVersion
}
return ""
}
func (m *LoraWANConfig) GetSupportJoin() bool {
if m != nil {
return m.SupportJoin
}
return false
}
func (m *LoraWANConfig) GetAport() int32 {
if m != nil {
return m.Aport
}
return 0
}
func (m *LoraWANConfig) GetRegion() string {
if m != nil {
return m.Region
}
return ""
}
func (m *LoraWANConfig) GetSubBand() int32 {
if m != nil {
return m.SubBand
}
return 0
}
func (m *LoraWANConfig) GetUpInterval() string {
if m != nil {
return m.UpInterval
}
return ""
}
func (m *LoraWANConfig) GetTxpower() uint32 {
if m != nil {
return m.Txpower
}
return 0
}
func (m *LoraWANConfig) GetDatarate() int32 {
if m != nil {
return m.Datarate
}
return 0
}
func (m *LoraWANConfig) GetConfirm() bool {
if m != nil {
return m.Confirm
}
return false
}
func (m *LoraWANConfig) GetNewjoin() bool {
if m != nil {
return m.Newjoin
}
return false
}
func (m *LoraWANConfig) GetAdr() bool {
if m != nil {
return m.Adr
}
return false
}
func (m *LoraWANConfig) GetCollect() *CollectConfig {
if m != nil {
return m.Collect
}
return nil
}
type LoraNodeBasic struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ManufacturingDate string `protobuf:"bytes,2,opt,name=manufacturingDate,json=MFGDate,proto3" json:"manufacturingDate,omitempty"`
SerialNumber string `protobuf:"bytes,3,opt,name=serialNumber,json=SN,proto3" json:"serialNumber,omitempty"`
Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
FVersion string `protobuf:"bytes,5,opt,name=fVersion,proto3" json:"fVersion,omitempty"`
HVersion string `protobuf:"bytes,6,opt,name=hVersion,proto3" json:"hVersion,omitempty"`
Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"`
Rssi int32 `protobuf:"varint,8,opt,name=rssi,proto3" json:"rssi,omitempty"`
Snr int32 `protobuf:"varint,9,opt,name=snr,proto3" json:"snr,omitempty"`
Battery string `protobuf:"bytes,10,opt,name=battery,proto3" json:"battery,omitempty"`
Location *common.Location `protobuf:"bytes,11,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoraNodeBasic) Reset() { *m = LoraNodeBasic{} }
func (m *LoraNodeBasic) String() string { return proto.CompactTextString(m) }
func (*LoraNodeBasic) ProtoMessage() {}
func (*LoraNodeBasic) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{5}
}
func (m *LoraNodeBasic) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LoraNodeBasic.Unmarshal(m, b)
}
func (m *LoraNodeBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LoraNodeBasic.Marshal(b, m, deterministic)
}
func (m *LoraNodeBasic) XXX_Merge(src proto.Message) {
xxx_messageInfo_LoraNodeBasic.Merge(m, src)
}
func (m *LoraNodeBasic) XXX_Size() int {
return xxx_messageInfo_LoraNodeBasic.Size(m)
}
func (m *LoraNodeBasic) XXX_DiscardUnknown() {
xxx_messageInfo_LoraNodeBasic.DiscardUnknown(m)
}
var xxx_messageInfo_LoraNodeBasic proto.InternalMessageInfo
func (m *LoraNodeBasic) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *LoraNodeBasic) GetManufacturingDate() string {
if m != nil {
return m.ManufacturingDate
}
return ""
}
func (m *LoraNodeBasic) GetSerialNumber() string {
if m != nil {
return m.SerialNumber
}
return ""
}
func (m *LoraNodeBasic) GetLabel() string {
if m != nil {
return m.Label
}
return ""
}
func (m *LoraNodeBasic) GetFVersion() string {
if m != nil {
return m.FVersion
}
return ""
}
func (m *LoraNodeBasic) GetHVersion() string {
if m != nil {
return m.HVersion
}
return ""
}
func (m *LoraNodeBasic) GetActive() bool {
if m != nil {
return m.Active
}
return false
}
func (m *LoraNodeBasic) GetRssi() int32 {
if m != nil {
return m.Rssi
}
return 0
}
func (m *LoraNodeBasic) GetSnr() int32 {
if m != nil {
return m.Snr
}
return 0
}
func (m *LoraNodeBasic) GetBattery() string {
if m != nil {
return m.Battery
}
return ""
}
func (m *LoraNodeBasic) GetLocation() *common.Location {
if m != nil {
return m.Location
}
return nil
}
type CollectConfig struct {
Power *DTUPowerConfig `protobuf:"bytes,1,opt,name=power,proto3" json:"power,omitempty"`
DigitalChannel []*DigitalChannel `protobuf:"bytes,2,rep,name=digital_channel,json=digitalChannel,proto3" json:"digital_channel,omitempty"`
AnalogChannel []*AnalogChannel `protobuf:"bytes,3,rep,name=analog_channel,json=analogChannel,proto3" json:"analog_channel,omitempty"`
Modbus *RS485ModbusConfig `protobuf:"bytes,4,opt,name=modbus,proto3" json:"modbus,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CollectConfig) Reset() { *m = CollectConfig{} }
func (m *CollectConfig) String() string { return proto.CompactTextString(m) }
func (*CollectConfig) ProtoMessage() {}
func (*CollectConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{6}
}
func (m *CollectConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollectConfig.Unmarshal(m, b)
}
func (m *CollectConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollectConfig.Marshal(b, m, deterministic)
}
func (m *CollectConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollectConfig.Merge(m, src)
}
func (m *CollectConfig) XXX_Size() int {
return xxx_messageInfo_CollectConfig.Size(m)
}
func (m *CollectConfig) XXX_DiscardUnknown() {
xxx_messageInfo_CollectConfig.DiscardUnknown(m)
}
var xxx_messageInfo_CollectConfig proto.InternalMessageInfo
func (m *CollectConfig) GetPower() *DTUPowerConfig {
if m != nil {
return m.Power
}
return nil
}
func (m *CollectConfig) GetDigitalChannel() []*DigitalChannel {
if m != nil {
return m.DigitalChannel
}
return nil
}
func (m *CollectConfig) GetAnalogChannel() []*AnalogChannel {
if m != nil {
return m.AnalogChannel
}
return nil
}
func (m *CollectConfig) GetModbus() *RS485ModbusConfig {
if m != nil {
return m.Modbus
}
return nil
}
type DTUPowerConfig struct {
PreOutput12V int32 `protobuf:"varint,1,opt,name=preOutput12V,proto3" json:"preOutput12V,omitempty"`
IsStable bool `protobuf:"varint,2,opt,name=isStable,proto3" json:"isStable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DTUPowerConfig) Reset() { *m = DTUPowerConfig{} }
func (m *DTUPowerConfig) String() string { return proto.CompactTextString(m) }
func (*DTUPowerConfig) ProtoMessage() {}
func (*DTUPowerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{7}
}
func (m *DTUPowerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DTUPowerConfig.Unmarshal(m, b)
}
func (m *DTUPowerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DTUPowerConfig.Marshal(b, m, deterministic)
}
func (m *DTUPowerConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DTUPowerConfig.Merge(m, src)
}
func (m *DTUPowerConfig) XXX_Size() int {
return xxx_messageInfo_DTUPowerConfig.Size(m)
}
func (m *DTUPowerConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DTUPowerConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DTUPowerConfig proto.InternalMessageInfo
func (m *DTUPowerConfig) GetPreOutput12V() int32 {
if m != nil {
return m.PreOutput12V
}
return 0
}
func (m *DTUPowerConfig) GetIsStable() bool {
if m != nil {
return m.IsStable
}
return false
}
type DigitalChannel struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// Types that are valid to be assigned to Config:
//
// *DigitalChannel_Output
// *DigitalChannel_Input
Config isDigitalChannel_Config `protobuf_oneof:"config"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DigitalChannel) Reset() { *m = DigitalChannel{} }
func (m *DigitalChannel) String() string { return proto.CompactTextString(m) }
func (*DigitalChannel) ProtoMessage() {}
func (*DigitalChannel) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{8}
}
func (m *DigitalChannel) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DigitalChannel.Unmarshal(m, b)
}
func (m *DigitalChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DigitalChannel.Marshal(b, m, deterministic)
}
func (m *DigitalChannel) XXX_Merge(src proto.Message) {
xxx_messageInfo_DigitalChannel.Merge(m, src)
}
func (m *DigitalChannel) XXX_Size() int {
return xxx_messageInfo_DigitalChannel.Size(m)
}
func (m *DigitalChannel) XXX_DiscardUnknown() {
xxx_messageInfo_DigitalChannel.DiscardUnknown(m)
}
var xxx_messageInfo_DigitalChannel proto.InternalMessageInfo
func (m *DigitalChannel) GetId() int32 {
if m != nil {
return m.Id
}
return 0
}
type isDigitalChannel_Config interface {
isDigitalChannel_Config()
}
type DigitalChannel_Output struct {
Output *DigitalOutputConfig `protobuf:"bytes,2,opt,name=output,proto3,oneof"`
}
type DigitalChannel_Input struct {
Input *DigitalInputConfig `protobuf:"bytes,3,opt,name=input,proto3,oneof"`
}
func (*DigitalChannel_Output) isDigitalChannel_Config() {}
func (*DigitalChannel_Input) isDigitalChannel_Config() {}
func (m *DigitalChannel) GetConfig() isDigitalChannel_Config {
if m != nil {
return m.Config
}
return nil
}
func (m *DigitalChannel) GetOutput() *DigitalOutputConfig {
if x, ok := m.GetConfig().(*DigitalChannel_Output); ok {
return x.Output
}
return nil
}
func (m *DigitalChannel) GetInput() *DigitalInputConfig {
if x, ok := m.GetConfig().(*DigitalChannel_Input); ok {
return x.Input
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*DigitalChannel) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*DigitalChannel_Output)(nil),
(*DigitalChannel_Input)(nil),
}
}
type AnalogChannel struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AnalogChannel) Reset() { *m = AnalogChannel{} }
func (m *AnalogChannel) String() string { return proto.CompactTextString(m) }
func (*AnalogChannel) ProtoMessage() {}
func (*AnalogChannel) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{9}
}
func (m *AnalogChannel) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AnalogChannel.Unmarshal(m, b)
}
func (m *AnalogChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AnalogChannel.Marshal(b, m, deterministic)
}
func (m *AnalogChannel) XXX_Merge(src proto.Message) {
xxx_messageInfo_AnalogChannel.Merge(m, src)
}
func (m *AnalogChannel) XXX_Size() int {
return xxx_messageInfo_AnalogChannel.Size(m)
}
func (m *AnalogChannel) XXX_DiscardUnknown() {
xxx_messageInfo_AnalogChannel.DiscardUnknown(m)
}
var xxx_messageInfo_AnalogChannel proto.InternalMessageInfo
func (m *AnalogChannel) GetId() int32 {
if m != nil {
return m.Id
}
return 0
}
func (m *AnalogChannel) GetEnable() bool {
if m != nil {
return m.Enable
}
return false
}
type DigitalOutputConfig struct {
Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DigitalOutputConfig) Reset() { *m = DigitalOutputConfig{} }
func (m *DigitalOutputConfig) String() string { return proto.CompactTextString(m) }
func (*DigitalOutputConfig) ProtoMessage() {}
func (*DigitalOutputConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{10}
}
func (m *DigitalOutputConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DigitalOutputConfig.Unmarshal(m, b)
}
func (m *DigitalOutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DigitalOutputConfig.Marshal(b, m, deterministic)
}
func (m *DigitalOutputConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DigitalOutputConfig.Merge(m, src)
}
func (m *DigitalOutputConfig) XXX_Size() int {
return xxx_messageInfo_DigitalOutputConfig.Size(m)
}
func (m *DigitalOutputConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DigitalOutputConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DigitalOutputConfig proto.InternalMessageInfo
func (m *DigitalOutputConfig) GetEnable() bool {
if m != nil {
return m.Enable
}
return false
}
type DigitalInputConfig struct {
Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
Event int32 `protobuf:"varint,2,opt,name=event,proto3" json:"event,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DigitalInputConfig) Reset() { *m = DigitalInputConfig{} }
func (m *DigitalInputConfig) String() string { return proto.CompactTextString(m) }
func (*DigitalInputConfig) ProtoMessage() {}
func (*DigitalInputConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{11}
}
func (m *DigitalInputConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DigitalInputConfig.Unmarshal(m, b)
}
func (m *DigitalInputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DigitalInputConfig.Marshal(b, m, deterministic)
}
func (m *DigitalInputConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DigitalInputConfig.Merge(m, src)
}
func (m *DigitalInputConfig) XXX_Size() int {
return xxx_messageInfo_DigitalInputConfig.Size(m)
}
func (m *DigitalInputConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DigitalInputConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DigitalInputConfig proto.InternalMessageInfo
func (m *DigitalInputConfig) GetEnable() bool {
if m != nil {
return m.Enable
}
return false
}
func (m *DigitalInputConfig) GetEvent() int32 {
if m != nil {
return m.Event
}
return 0
}
type RS485ModbusConfig struct {
Baudrate uint32 `protobuf:"varint,1,opt,name=baudrate,proto3" json:"baudrate,omitempty"`
Databits int32 `protobuf:"varint,2,opt,name=databits,proto3" json:"databits,omitempty"`
Stopbit string `protobuf:"bytes,3,opt,name=stopbit,proto3" json:"stopbit,omitempty"`
Parity string `protobuf:"bytes,4,opt,name=parity,proto3" json:"parity,omitempty"`
Retry int32 `protobuf:"varint,5,opt,name=retry,proto3" json:"retry,omitempty"`
W []string `protobuf:"bytes,6,rep,name=w,proto3" json:"w,omitempty"`
R string `protobuf:"bytes,7,opt,name=r,proto3" json:"r,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RS485ModbusConfig) Reset() { *m = RS485ModbusConfig{} }
func (m *RS485ModbusConfig) String() string { return proto.CompactTextString(m) }
func (*RS485ModbusConfig) ProtoMessage() {}
func (*RS485ModbusConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{12}
}
func (m *RS485ModbusConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RS485ModbusConfig.Unmarshal(m, b)
}
func (m *RS485ModbusConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RS485ModbusConfig.Marshal(b, m, deterministic)
}
func (m *RS485ModbusConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_RS485ModbusConfig.Merge(m, src)
}
func (m *RS485ModbusConfig) XXX_Size() int {
return xxx_messageInfo_RS485ModbusConfig.Size(m)
}
func (m *RS485ModbusConfig) XXX_DiscardUnknown() {
xxx_messageInfo_RS485ModbusConfig.DiscardUnknown(m)
}
var xxx_messageInfo_RS485ModbusConfig proto.InternalMessageInfo
func (m *RS485ModbusConfig) GetBaudrate() uint32 {
if m != nil {
return m.Baudrate
}
return 0
}
func (m *RS485ModbusConfig) GetDatabits() int32 {
if m != nil {
return m.Databits
}
return 0
}
func (m *RS485ModbusConfig) GetStopbit() string {
if m != nil {
return m.Stopbit
}
return ""
}
func (m *RS485ModbusConfig) GetParity() string {
if m != nil {
return m.Parity
}
return ""
}
func (m *RS485ModbusConfig) GetRetry() int32 {
if m != nil {
return m.Retry
}
return 0
}
func (m *RS485ModbusConfig) GetW() []string {
if m != nil {
return m.W
}
return nil
}
func (m *RS485ModbusConfig) GetR() string {
if m != nil {
return m.R
}
return ""
}
type Device struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
// Name of the device (if left blank, it will be set to the DevEUI).
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// ID of the application to which the device must be added.
// It is possible to move a device to a different application on update,
// given that both the old and the new application share the same
// service-profile.
ApplicationId int64 `protobuf:"varint,3,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
// Description of the device.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// DeviceProfileID attached to the device.
DeviceProfileId string `protobuf:"bytes,5,opt,name=device_profile_id,json=deviceProfileID,proto3" json:"device_profile_id,omitempty"`
// Skip frame-counter checks (this is insecure, but could be helpful for debugging).
SkipFCntCheck bool `protobuf:"varint,6,opt,name=skip_f_cnt_check,json=skipFCntCheck,proto3" json:"skip_f_cnt_check,omitempty"`
// Reference altitude.
// When using geolocation, this altitude will be used as a reference
// (when supported by the geolocation-server) to increase geolocation
// accuracy.
ReferenceAltitude float64 `protobuf:"fixed64,7,opt,name=reference_altitude,json=referenceAltitude,proto3" json:"reference_altitude,omitempty"`
// Variables (user defined).
// These variables can be used together with integrations to store tokens /
// secrets that must be configured per device. These variables are not
// exposed in the event payloads.
Variables map[string]string `protobuf:"bytes,8,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Tags (user defined).
// These tags are exposed in the event payloads or to integration. Tags are
// intended for aggregation and filtering.
Tags map[string]string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Device is disabled.
IsDisabled bool `protobuf:"varint,10,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"`
Debug string `protobuf:"bytes,11,opt,name=debug,proto3" json:"debug,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Device) Reset() { *m = Device{} }
func (m *Device) String() string { return proto.CompactTextString(m) }
func (*Device) ProtoMessage() {}
func (*Device) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{13}
}
func (m *Device) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Device.Unmarshal(m, b)
}
func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Device.Marshal(b, m, deterministic)
}
func (m *Device) XXX_Merge(src proto.Message) {
xxx_messageInfo_Device.Merge(m, src)
}
func (m *Device) XXX_Size() int {
return xxx_messageInfo_Device.Size(m)
}
func (m *Device) XXX_DiscardUnknown() {
xxx_messageInfo_Device.DiscardUnknown(m)
}
var xxx_messageInfo_Device proto.InternalMessageInfo
func (m *Device) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
func (m *Device) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Device) GetApplicationId() int64 {
if m != nil {
return m.ApplicationId
}
return 0
}
func (m *Device) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Device) GetDeviceProfileId() string {
if m != nil {
return m.DeviceProfileId
}
return ""
}
func (m *Device) GetSkipFCntCheck() bool {
if m != nil {
return m.SkipFCntCheck
}
return false
}
func (m *Device) GetReferenceAltitude() float64 {
if m != nil {
return m.ReferenceAltitude
}
return 0
}
func (m *Device) GetVariables() map[string]string {
if m != nil {
return m.Variables
}
return nil
}
func (m *Device) GetTags() map[string]string {
if m != nil {
return m.Tags
}
return nil
}
func (m *Device) GetIsDisabled() bool {
if m != nil {
return m.IsDisabled
}
return false
}
func (m *Device) GetDebug() string {
if m != nil {
return m.Debug
}
return ""
}
type DeviceListItem struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
// Name of the device.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Application ID.
ApplicationId int64 `protobuf:"varint,3,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
// Description of the device.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Device-profile ID attached to the device.
DeviceProfileId string `protobuf:"bytes,5,opt,name=device_profile_id,json=deviceProfileID,proto3" json:"device_profile_id,omitempty"`
// Device-profile name.
DeviceProfileName string `protobuf:"bytes,6,opt,name=device_profile_name,json=deviceProfileName,proto3" json:"device_profile_name,omitempty"`
// The device battery status (deprecated, use device_status_battery_level).
// 0: The end-device is connected to an external power source
// 1..254: The battery level, 1 being at minimum and 254 being at maximum
// 255: The end-device was not able to measure the battery level
// 256: The device-status is not available.
DeviceStatusBattery uint32 `protobuf:"varint,7,opt,name=device_status_battery,json=deviceStatusBattery,proto3" json:"device_status_battery,omitempty"`
// The device margin status
// -32..32: The demodulation SNR ration in dB
// 256: The device-status is not available.
DeviceStatusMargin int32 `protobuf:"varint,8,opt,name=device_status_margin,json=deviceStatusMargin,proto3" json:"device_status_margin,omitempty"`
// Device is connected to an external power source.
DeviceStatusExternalPowerSource bool `protobuf:"varint,10,opt,name=device_status_external_power_source,json=deviceStatusExternalPowerSource,proto3" json:"device_status_external_power_source,omitempty"`
// Device battery status is unavailable.
DeviceStatusBatteryLevelUnavailable bool `protobuf:"varint,11,opt,name=device_status_battery_level_unavailable,json=deviceStatusBatteryLevelUnavailable,proto3" json:"device_status_battery_level_unavailable,omitempty"`
// Device battery level as a percentage.
DeviceStatusBatteryLevel float32 `protobuf:"fixed32,12,opt,name=device_status_battery_level,json=deviceStatusBatteryLevel,proto3" json:"device_status_battery_level,omitempty"`
// The last time the application-server received any data from the device,
// or an empty string when the device never sent any data.
LastSeenAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
// Skip frame-counter checks (this is insecure, but could be helpful for debugging).
SkipFCntCheck bool `protobuf:"varint,13,opt,name=skip_f_cnt_check,json=skipFCntCheck,proto3" json:"skip_f_cnt_check,omitempty"`
// Device is disabled.
IsDisabled bool `protobuf:"varint,14,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"`
Debug string `protobuf:"bytes,15,opt,name=debug,proto3" json:"debug,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceListItem) Reset() { *m = DeviceListItem{} }
func (m *DeviceListItem) String() string { return proto.CompactTextString(m) }
func (*DeviceListItem) ProtoMessage() {}
func (*DeviceListItem) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{14}
}
func (m *DeviceListItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceListItem.Unmarshal(m, b)
}
func (m *DeviceListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceListItem.Marshal(b, m, deterministic)
}
func (m *DeviceListItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceListItem.Merge(m, src)
}
func (m *DeviceListItem) XXX_Size() int {
return xxx_messageInfo_DeviceListItem.Size(m)
}
func (m *DeviceListItem) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceListItem.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceListItem proto.InternalMessageInfo
func (m *DeviceListItem) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
func (m *DeviceListItem) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *DeviceListItem) GetApplicationId() int64 {
if m != nil {
return m.ApplicationId
}
return 0
}
func (m *DeviceListItem) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *DeviceListItem) GetDeviceProfileId() string {
if m != nil {
return m.DeviceProfileId
}
return ""
}
func (m *DeviceListItem) GetDeviceProfileName() string {
if m != nil {
return m.DeviceProfileName
}
return ""
}
func (m *DeviceListItem) GetDeviceStatusBattery() uint32 {
if m != nil {
return m.DeviceStatusBattery
}
return 0
}
func (m *DeviceListItem) GetDeviceStatusMargin() int32 {
if m != nil {
return m.DeviceStatusMargin
}
return 0
}
func (m *DeviceListItem) GetDeviceStatusExternalPowerSource() bool {
if m != nil {
return m.DeviceStatusExternalPowerSource
}
return false
}
func (m *DeviceListItem) GetDeviceStatusBatteryLevelUnavailable() bool {
if m != nil {
return m.DeviceStatusBatteryLevelUnavailable
}
return false
}
func (m *DeviceListItem) GetDeviceStatusBatteryLevel() float32 {
if m != nil {
return m.DeviceStatusBatteryLevel
}
return 0
}
func (m *DeviceListItem) GetLastSeenAt() *timestamppb.Timestamp {
if m != nil {
return m.LastSeenAt
}
return nil
}
func (m *DeviceListItem) GetSkipFCntCheck() bool {
if m != nil {
return m.SkipFCntCheck
}
return false
}
func (m *DeviceListItem) GetIsDisabled() bool {
if m != nil {
return m.IsDisabled
}
return false
}
func (m *DeviceListItem) GetDebug() string {
if m != nil {
return m.Debug
}
return ""
}
type DeviceKeys struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
// Network root key (HEX encoded).
// Note: For LoRaWAN 1.0.x, use this field for the LoRaWAN 1.0.x 'AppKey`!
NwkKey string `protobuf:"bytes,2,opt,name=nwk_key,json=nwkKey,proto3" json:"nwk_key,omitempty"`
// Application root key (HEX encoded).
// Note: This field only needs to be set for LoRaWAN 1.1.x devices!
AppKey string `protobuf:"bytes,3,opt,name=app_key,json=appKey,proto3" json:"app_key,omitempty"`
// Gen application key (HEX encoded).
// This is an optional key that only must be set for LORaWAN 1.0.x devices
// that implement the remote multicast setup specification.
GenAppKey string `protobuf:"bytes,4,opt,name=gen_app_key,json=genAppKey,proto3" json:"gen_app_key,omitempty"`
JoinEui string `protobuf:"bytes,5,opt,name=join_eui,json=joinEUI,proto3" json:"join_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceKeys) Reset() { *m = DeviceKeys{} }
func (m *DeviceKeys) String() string { return proto.CompactTextString(m) }
func (*DeviceKeys) ProtoMessage() {}
func (*DeviceKeys) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{15}
}
func (m *DeviceKeys) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceKeys.Unmarshal(m, b)
}
func (m *DeviceKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceKeys.Marshal(b, m, deterministic)
}
func (m *DeviceKeys) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceKeys.Merge(m, src)
}
func (m *DeviceKeys) XXX_Size() int {
return xxx_messageInfo_DeviceKeys.Size(m)
}
func (m *DeviceKeys) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceKeys.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceKeys proto.InternalMessageInfo
func (m *DeviceKeys) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
func (m *DeviceKeys) GetNwkKey() string {
if m != nil {
return m.NwkKey
}
return ""
}
func (m *DeviceKeys) GetAppKey() string {
if m != nil {
return m.AppKey
}
return ""
}
func (m *DeviceKeys) GetGenAppKey() string {
if m != nil {
return m.GenAppKey
}
return ""
}
func (m *DeviceKeys) GetJoinEui() string {
if m != nil {
return m.JoinEui
}
return ""
}
type CreateDeviceRequest struct {
// Device object to create.
//
// Types that are valid to be assigned to AddDevice:
//
// *CreateDeviceRequest_Device
// *CreateDeviceRequest_Otaa
// *CreateDeviceRequest_Abp
// *CreateDeviceRequest_Csv
// *CreateDeviceRequest_Camera
AddDevice isCreateDeviceRequest_AddDevice `protobuf_oneof:"addDevice"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateDeviceRequest) Reset() { *m = CreateDeviceRequest{} }
func (m *CreateDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*CreateDeviceRequest) ProtoMessage() {}
func (*CreateDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{16}
}
func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateDeviceRequest.Unmarshal(m, b)
}
func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateDeviceRequest.Marshal(b, m, deterministic)
}
func (m *CreateDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateDeviceRequest.Merge(m, src)
}
func (m *CreateDeviceRequest) XXX_Size() int {
return xxx_messageInfo_CreateDeviceRequest.Size(m)
}
func (m *CreateDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateDeviceRequest proto.InternalMessageInfo
type isCreateDeviceRequest_AddDevice interface {
isCreateDeviceRequest_AddDevice()
}
type CreateDeviceRequest_Device struct {
Device *Device `protobuf:"bytes,1,opt,name=device,proto3,oneof"`
}
type CreateDeviceRequest_Otaa struct {
Otaa *OTAADevice `protobuf:"bytes,2,opt,name=otaa,json=OTAA,proto3,oneof"`
}
type CreateDeviceRequest_Abp struct {
Abp *ABPDevice `protobuf:"bytes,3,opt,name=abp,json=ABP,proto3,oneof"`
}
type CreateDeviceRequest_Csv struct {
Csv *CSVAdd `protobuf:"bytes,4,opt,name=csv,proto3,oneof"`
}
type CreateDeviceRequest_Camera struct {
Camera *CameraAdd `protobuf:"bytes,5,opt,name=camera,proto3,oneof"`
}
func (*CreateDeviceRequest_Device) isCreateDeviceRequest_AddDevice() {}
func (*CreateDeviceRequest_Otaa) isCreateDeviceRequest_AddDevice() {}
func (*CreateDeviceRequest_Abp) isCreateDeviceRequest_AddDevice() {}
func (*CreateDeviceRequest_Csv) isCreateDeviceRequest_AddDevice() {}
func (*CreateDeviceRequest_Camera) isCreateDeviceRequest_AddDevice() {}
func (m *CreateDeviceRequest) GetAddDevice() isCreateDeviceRequest_AddDevice {
if m != nil {
return m.AddDevice
}
return nil
}
func (m *CreateDeviceRequest) GetDevice() *Device {
if x, ok := m.GetAddDevice().(*CreateDeviceRequest_Device); ok {
return x.Device
}
return nil
}
func (m *CreateDeviceRequest) GetOtaa() *OTAADevice {
if x, ok := m.GetAddDevice().(*CreateDeviceRequest_Otaa); ok {
return x.Otaa
}
return nil
}
func (m *CreateDeviceRequest) GetAbp() *ABPDevice {
if x, ok := m.GetAddDevice().(*CreateDeviceRequest_Abp); ok {
return x.Abp
}
return nil
}
func (m *CreateDeviceRequest) GetCsv() *CSVAdd {
if x, ok := m.GetAddDevice().(*CreateDeviceRequest_Csv); ok {
return x.Csv
}
return nil
}
func (m *CreateDeviceRequest) GetCamera() *CameraAdd {
if x, ok := m.GetAddDevice().(*CreateDeviceRequest_Camera); ok {
return x.Camera
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*CreateDeviceRequest) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*CreateDeviceRequest_Device)(nil),
(*CreateDeviceRequest_Otaa)(nil),
(*CreateDeviceRequest_Abp)(nil),
(*CreateDeviceRequest_Csv)(nil),
(*CreateDeviceRequest_Camera)(nil),
}
}
type CreateAndActivateABPEnableDeviceRequest struct {
ApplicationId int64 `protobuf:"varint,3,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,json=devName,proto3" json:"name,omitempty"`
Abp *ABPDevice `protobuf:"bytes,2,opt,name=abp,json=ABP,proto3" json:"abp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateAndActivateABPEnableDeviceRequest) Reset() {
*m = CreateAndActivateABPEnableDeviceRequest{}
}
func (m *CreateAndActivateABPEnableDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*CreateAndActivateABPEnableDeviceRequest) ProtoMessage() {}
func (*CreateAndActivateABPEnableDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{17}
}
func (m *CreateAndActivateABPEnableDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateAndActivateABPEnableDeviceRequest.Unmarshal(m, b)
}
func (m *CreateAndActivateABPEnableDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateAndActivateABPEnableDeviceRequest.Marshal(b, m, deterministic)
}
func (m *CreateAndActivateABPEnableDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateAndActivateABPEnableDeviceRequest.Merge(m, src)
}
func (m *CreateAndActivateABPEnableDeviceRequest) XXX_Size() int {
return xxx_messageInfo_CreateAndActivateABPEnableDeviceRequest.Size(m)
}
func (m *CreateAndActivateABPEnableDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateAndActivateABPEnableDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateAndActivateABPEnableDeviceRequest proto.InternalMessageInfo
func (m *CreateAndActivateABPEnableDeviceRequest) GetApplicationId() int64 {
if m != nil {
return m.ApplicationId
}
return 0
}
func (m *CreateAndActivateABPEnableDeviceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateAndActivateABPEnableDeviceRequest) GetAbp() *ABPDevice {
if m != nil {
return m.Abp
}
return nil
}
type CreateAndActivateABPEnableDeviceResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateAndActivateABPEnableDeviceResponse) Reset() {
*m = CreateAndActivateABPEnableDeviceResponse{}
}
func (m *CreateAndActivateABPEnableDeviceResponse) String() string { return proto.CompactTextString(m) }
func (*CreateAndActivateABPEnableDeviceResponse) ProtoMessage() {}
func (*CreateAndActivateABPEnableDeviceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{18}
}
func (m *CreateAndActivateABPEnableDeviceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateAndActivateABPEnableDeviceResponse.Unmarshal(m, b)
}
func (m *CreateAndActivateABPEnableDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateAndActivateABPEnableDeviceResponse.Marshal(b, m, deterministic)
}
func (m *CreateAndActivateABPEnableDeviceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateAndActivateABPEnableDeviceResponse.Merge(m, src)
}
func (m *CreateAndActivateABPEnableDeviceResponse) XXX_Size() int {
return xxx_messageInfo_CreateAndActivateABPEnableDeviceResponse.Size(m)
}
func (m *CreateAndActivateABPEnableDeviceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateAndActivateABPEnableDeviceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateAndActivateABPEnableDeviceResponse proto.InternalMessageInfo
func (m *CreateAndActivateABPEnableDeviceResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *CreateAndActivateABPEnableDeviceResponse) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
type CreateOTAAEnableDeviceAndKeyRequest struct {
ApplicationId int64 `protobuf:"varint,3,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
Name string `protobuf:"bytes,1,opt,name=name,json=devName,proto3" json:"name,omitempty"`
Otaa *OTAADevice `protobuf:"bytes,2,opt,name=otaa,json=OTAA,proto3" json:"otaa,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) Reset() { *m = CreateOTAAEnableDeviceAndKeyRequest{} }
func (m *CreateOTAAEnableDeviceAndKeyRequest) String() string { return proto.CompactTextString(m) }
func (*CreateOTAAEnableDeviceAndKeyRequest) ProtoMessage() {}
func (*CreateOTAAEnableDeviceAndKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{19}
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOTAAEnableDeviceAndKeyRequest.Unmarshal(m, b)
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOTAAEnableDeviceAndKeyRequest.Marshal(b, m, deterministic)
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOTAAEnableDeviceAndKeyRequest.Merge(m, src)
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) XXX_Size() int {
return xxx_messageInfo_CreateOTAAEnableDeviceAndKeyRequest.Size(m)
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOTAAEnableDeviceAndKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOTAAEnableDeviceAndKeyRequest proto.InternalMessageInfo
func (m *CreateOTAAEnableDeviceAndKeyRequest) GetApplicationId() int64 {
if m != nil {
return m.ApplicationId
}
return 0
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateOTAAEnableDeviceAndKeyRequest) GetOtaa() *OTAADevice {
if m != nil {
return m.Otaa
}
return nil
}
type GetDeviceDetailsRequest struct {
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceDetailsRequest) Reset() { *m = GetDeviceDetailsRequest{} }
func (m *GetDeviceDetailsRequest) String() string { return proto.CompactTextString(m) }
func (*GetDeviceDetailsRequest) ProtoMessage() {}
func (*GetDeviceDetailsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{20}
}
func (m *GetDeviceDetailsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceDetailsRequest.Unmarshal(m, b)
}
func (m *GetDeviceDetailsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceDetailsRequest.Marshal(b, m, deterministic)
}
func (m *GetDeviceDetailsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceDetailsRequest.Merge(m, src)
}
func (m *GetDeviceDetailsRequest) XXX_Size() int {
return xxx_messageInfo_GetDeviceDetailsRequest.Size(m)
}
func (m *GetDeviceDetailsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceDetailsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceDetailsRequest proto.InternalMessageInfo
func (m *GetDeviceDetailsRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type GetDeviceDetailsResponse struct {
Name string `protobuf:"bytes,1,opt,name=name,json=devName,proto3" json:"name,omitempty"`
Otaa *OTAADevice `protobuf:"bytes,2,opt,name=otaa,json=OTAA,proto3" json:"otaa,omitempty"`
Abp *ABPDevice `protobuf:"bytes,3,opt,name=abp,json=ABP,proto3" json:"abp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceDetailsResponse) Reset() { *m = GetDeviceDetailsResponse{} }
func (m *GetDeviceDetailsResponse) String() string { return proto.CompactTextString(m) }
func (*GetDeviceDetailsResponse) ProtoMessage() {}
func (*GetDeviceDetailsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{21}
}
func (m *GetDeviceDetailsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceDetailsResponse.Unmarshal(m, b)
}
func (m *GetDeviceDetailsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceDetailsResponse.Marshal(b, m, deterministic)
}
func (m *GetDeviceDetailsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceDetailsResponse.Merge(m, src)
}
func (m *GetDeviceDetailsResponse) XXX_Size() int {
return xxx_messageInfo_GetDeviceDetailsResponse.Size(m)
}
func (m *GetDeviceDetailsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceDetailsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceDetailsResponse proto.InternalMessageInfo
func (m *GetDeviceDetailsResponse) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *GetDeviceDetailsResponse) GetOtaa() *OTAADevice {
if m != nil {
return m.Otaa
}
return nil
}
func (m *GetDeviceDetailsResponse) GetAbp() *ABPDevice {
if m != nil {
return m.Abp
}
return nil
}
type CreateOTAAEnableDeviceAndKeyResponse struct {
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOTAAEnableDeviceAndKeyResponse) Reset() { *m = CreateOTAAEnableDeviceAndKeyResponse{} }
func (m *CreateOTAAEnableDeviceAndKeyResponse) String() string { return proto.CompactTextString(m) }
func (*CreateOTAAEnableDeviceAndKeyResponse) ProtoMessage() {}
func (*CreateOTAAEnableDeviceAndKeyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{22}
}
func (m *CreateOTAAEnableDeviceAndKeyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOTAAEnableDeviceAndKeyResponse.Unmarshal(m, b)
}
func (m *CreateOTAAEnableDeviceAndKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOTAAEnableDeviceAndKeyResponse.Marshal(b, m, deterministic)
}
func (m *CreateOTAAEnableDeviceAndKeyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOTAAEnableDeviceAndKeyResponse.Merge(m, src)
}
func (m *CreateOTAAEnableDeviceAndKeyResponse) XXX_Size() int {
return xxx_messageInfo_CreateOTAAEnableDeviceAndKeyResponse.Size(m)
}
func (m *CreateOTAAEnableDeviceAndKeyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOTAAEnableDeviceAndKeyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOTAAEnableDeviceAndKeyResponse proto.InternalMessageInfo
func (m *CreateOTAAEnableDeviceAndKeyResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *CreateOTAAEnableDeviceAndKeyResponse) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
type CreateDeviceResponse struct {
// Device object to create.
Empty *emptypb.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateDeviceResponse) Reset() { *m = CreateDeviceResponse{} }
func (m *CreateDeviceResponse) String() string { return proto.CompactTextString(m) }
func (*CreateDeviceResponse) ProtoMessage() {}
func (*CreateDeviceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{23}
}
func (m *CreateDeviceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateDeviceResponse.Unmarshal(m, b)
}
func (m *CreateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateDeviceResponse.Marshal(b, m, deterministic)
}
func (m *CreateDeviceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateDeviceResponse.Merge(m, src)
}
func (m *CreateDeviceResponse) XXX_Size() int {
return xxx_messageInfo_CreateDeviceResponse.Size(m)
}
func (m *CreateDeviceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateDeviceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateDeviceResponse proto.InternalMessageInfo
func (m *CreateDeviceResponse) GetEmpty() *emptypb.Empty {
if m != nil {
return m.Empty
}
return nil
}
func (m *CreateDeviceResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *CreateDeviceResponse) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
type QtcodeCreateDeviceRequest struct {
// Device object to create.
Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
Otaa *OTAADevice `protobuf:"bytes,2,opt,name=otaa,json=OTAA,proto3" json:"otaa,omitempty"`
Abp *ABPDevice `protobuf:"bytes,3,opt,name=abp,json=ABP,proto3" json:"abp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QtcodeCreateDeviceRequest) Reset() { *m = QtcodeCreateDeviceRequest{} }
func (m *QtcodeCreateDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*QtcodeCreateDeviceRequest) ProtoMessage() {}
func (*QtcodeCreateDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{24}
}
func (m *QtcodeCreateDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QtcodeCreateDeviceRequest.Unmarshal(m, b)
}
func (m *QtcodeCreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QtcodeCreateDeviceRequest.Marshal(b, m, deterministic)
}
func (m *QtcodeCreateDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_QtcodeCreateDeviceRequest.Merge(m, src)
}
func (m *QtcodeCreateDeviceRequest) XXX_Size() int {
return xxx_messageInfo_QtcodeCreateDeviceRequest.Size(m)
}
func (m *QtcodeCreateDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_QtcodeCreateDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_QtcodeCreateDeviceRequest proto.InternalMessageInfo
func (m *QtcodeCreateDeviceRequest) GetDevice() *Device {
if m != nil {
return m.Device
}
return nil
}
func (m *QtcodeCreateDeviceRequest) GetOtaa() *OTAADevice {
if m != nil {
return m.Otaa
}
return nil
}
func (m *QtcodeCreateDeviceRequest) GetAbp() *ABPDevice {
if m != nil {
return m.Abp
}
return nil
}
type QtcodeCreateDeviceResponse struct {
// Device object to create.
Empty *emptypb.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QtcodeCreateDeviceResponse) Reset() { *m = QtcodeCreateDeviceResponse{} }
func (m *QtcodeCreateDeviceResponse) String() string { return proto.CompactTextString(m) }
func (*QtcodeCreateDeviceResponse) ProtoMessage() {}
func (*QtcodeCreateDeviceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{25}
}
func (m *QtcodeCreateDeviceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QtcodeCreateDeviceResponse.Unmarshal(m, b)
}
func (m *QtcodeCreateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_QtcodeCreateDeviceResponse.Marshal(b, m, deterministic)
}
func (m *QtcodeCreateDeviceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_QtcodeCreateDeviceResponse.Merge(m, src)
}
func (m *QtcodeCreateDeviceResponse) XXX_Size() int {
return xxx_messageInfo_QtcodeCreateDeviceResponse.Size(m)
}
func (m *QtcodeCreateDeviceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_QtcodeCreateDeviceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_QtcodeCreateDeviceResponse proto.InternalMessageInfo
func (m *QtcodeCreateDeviceResponse) GetEmpty() *emptypb.Empty {
if m != nil {
return m.Empty
}
return nil
}
func (m *QtcodeCreateDeviceResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *QtcodeCreateDeviceResponse) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
type GetDeviceRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceRequest) Reset() { *m = GetDeviceRequest{} }
func (m *GetDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*GetDeviceRequest) ProtoMessage() {}
func (*GetDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{26}
}
func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceRequest.Unmarshal(m, b)
}
func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceRequest.Marshal(b, m, deterministic)
}
func (m *GetDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceRequest.Merge(m, src)
}
func (m *GetDeviceRequest) XXX_Size() int {
return xxx_messageInfo_GetDeviceRequest.Size(m)
}
func (m *GetDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceRequest proto.InternalMessageInfo
func (m *GetDeviceRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type GetDeviceResponse struct {
// Device object.
Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
// Created at 2
// Updated at 3
// First seen at 4
// Create timestamp.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Last update timestamp.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// Last seen timestamp.
LastSeenAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
// The device battery status
// 0: The end-device is connected to an external power source
// 1..254: The battery level, 1 being at minimum and 254 being at maximum
// 255: The end-device was not able to measure the battery level
// 256: The device-status is not available.
DeviceStatusBattery uint32 `protobuf:"varint,6,opt,name=device_status_battery,json=deviceStatusBattery,proto3" json:"device_status_battery,omitempty"`
// The device margin status
// -32..32: The demodulation SNR ration in dB
// 256: The device-status is not available.
DeviceStatusMargin int32 `protobuf:"varint,20,opt,name=device_status_margin,json=deviceStatusMargin,proto3" json:"device_status_margin,omitempty"`
// Device location.
// This will set when the network-server was able to resolve the location
// using the geolocation-server.
Location *common.Location `protobuf:"bytes,21,opt,name=location,proto3" json:"location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceResponse) Reset() { *m = GetDeviceResponse{} }
func (m *GetDeviceResponse) String() string { return proto.CompactTextString(m) }
func (*GetDeviceResponse) ProtoMessage() {}
func (*GetDeviceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{27}
}
func (m *GetDeviceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceResponse.Unmarshal(m, b)
}
func (m *GetDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceResponse.Marshal(b, m, deterministic)
}
func (m *GetDeviceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceResponse.Merge(m, src)
}
func (m *GetDeviceResponse) XXX_Size() int {
return xxx_messageInfo_GetDeviceResponse.Size(m)
}
func (m *GetDeviceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceResponse proto.InternalMessageInfo
func (m *GetDeviceResponse) GetDevice() *Device {
if m != nil {
return m.Device
}
return nil
}
func (m *GetDeviceResponse) GetCreatedAt() *timestamppb.Timestamp {
if m != nil {
return m.CreatedAt
}
return nil
}
func (m *GetDeviceResponse) GetUpdatedAt() *timestamppb.Timestamp {
if m != nil {
return m.UpdatedAt
}
return nil
}
func (m *GetDeviceResponse) GetLastSeenAt() *timestamppb.Timestamp {
if m != nil {
return m.LastSeenAt
}
return nil
}
func (m *GetDeviceResponse) GetDeviceStatusBattery() uint32 {
if m != nil {
return m.DeviceStatusBattery
}
return 0
}
func (m *GetDeviceResponse) GetDeviceStatusMargin() int32 {
if m != nil {
return m.DeviceStatusMargin
}
return 0
}
func (m *GetDeviceResponse) GetLocation() *common.Location {
if m != nil {
return m.Location
}
return nil
}
type DeleteDeviceResponse struct {
Empty *emptypb.Empty `protobuf:"bytes,1,opt,name=empty,proto3" json:"empty,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteDeviceResponse) Reset() { *m = DeleteDeviceResponse{} }
func (m *DeleteDeviceResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteDeviceResponse) ProtoMessage() {}
func (*DeleteDeviceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{28}
}
func (m *DeleteDeviceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteDeviceResponse.Unmarshal(m, b)
}
func (m *DeleteDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteDeviceResponse.Marshal(b, m, deterministic)
}
func (m *DeleteDeviceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteDeviceResponse.Merge(m, src)
}
func (m *DeleteDeviceResponse) XXX_Size() int {
return xxx_messageInfo_DeleteDeviceResponse.Size(m)
}
func (m *DeleteDeviceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteDeviceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteDeviceResponse proto.InternalMessageInfo
func (m *DeleteDeviceResponse) GetEmpty() *emptypb.Empty {
if m != nil {
return m.Empty
}
return nil
}
func (m *DeleteDeviceResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *DeleteDeviceResponse) GetStatus() string {
if m != nil {
return m.Status
}
return ""
}
type ListDeviceRequest struct {
// Max number of devices to return in the result-set.
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
// Offset in the result-set (for pagination).
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// Application ID to filter on.
ApplicationId int64 `protobuf:"varint,3,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
// Search on name or DevEUI.
Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"`
// Multicast-group ID to filter on (string formatted UUID).
MulticastGroupId string `protobuf:"bytes,5,opt,name=multicast_group_id,json=multicastGroupID,proto3" json:"multicast_group_id,omitempty"`
// Service-profile ID to filter on (string formatted UUID).
ServiceProfileId string `protobuf:"bytes,6,opt,name=service_profile_id,json=serviceProfileID,proto3" json:"service_profile_id,omitempty"`
// Tags to filter on.
Tags map[string]string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListDeviceRequest) Reset() { *m = ListDeviceRequest{} }
func (m *ListDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*ListDeviceRequest) ProtoMessage() {}
func (*ListDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{29}
}
func (m *ListDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListDeviceRequest.Unmarshal(m, b)
}
func (m *ListDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListDeviceRequest.Marshal(b, m, deterministic)
}
func (m *ListDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListDeviceRequest.Merge(m, src)
}
func (m *ListDeviceRequest) XXX_Size() int {
return xxx_messageInfo_ListDeviceRequest.Size(m)
}
func (m *ListDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListDeviceRequest proto.InternalMessageInfo
func (m *ListDeviceRequest) GetLimit() int64 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListDeviceRequest) GetOffset() int64 {
if m != nil {
return m.Offset
}
return 0
}
func (m *ListDeviceRequest) GetApplicationId() int64 {
if m != nil {
return m.ApplicationId
}
return 0
}
func (m *ListDeviceRequest) GetSearch() string {
if m != nil {
return m.Search
}
return ""
}
func (m *ListDeviceRequest) GetMulticastGroupId() string {
if m != nil {
return m.MulticastGroupId
}
return ""
}
func (m *ListDeviceRequest) GetServiceProfileId() string {
if m != nil {
return m.ServiceProfileId
}
return ""
}
func (m *ListDeviceRequest) GetTags() map[string]string {
if m != nil {
return m.Tags
}
return nil
}
type ListDeviceResponse struct {
// Total number of devices available within the result-set.
TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Devices within this result-set.
Result []*DeviceListItem `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListDeviceResponse) Reset() { *m = ListDeviceResponse{} }
func (m *ListDeviceResponse) String() string { return proto.CompactTextString(m) }
func (*ListDeviceResponse) ProtoMessage() {}
func (*ListDeviceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{30}
}
func (m *ListDeviceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListDeviceResponse.Unmarshal(m, b)
}
func (m *ListDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListDeviceResponse.Marshal(b, m, deterministic)
}
func (m *ListDeviceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListDeviceResponse.Merge(m, src)
}
func (m *ListDeviceResponse) XXX_Size() int {
return xxx_messageInfo_ListDeviceResponse.Size(m)
}
func (m *ListDeviceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListDeviceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListDeviceResponse proto.InternalMessageInfo
func (m *ListDeviceResponse) GetTotalCount() int64 {
if m != nil {
return m.TotalCount
}
return 0
}
func (m *ListDeviceResponse) GetTimestamp() *timestamppb.Timestamp {
if m != nil {
return m.Timestamp
}
return nil
}
func (m *ListDeviceResponse) GetResult() []*DeviceListItem {
if m != nil {
return m.Result
}
return nil
}
type DeleteDeviceRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteDeviceRequest) Reset() { *m = DeleteDeviceRequest{} }
func (m *DeleteDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteDeviceRequest) ProtoMessage() {}
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{31}
}
func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteDeviceRequest.Unmarshal(m, b)
}
func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteDeviceRequest.Marshal(b, m, deterministic)
}
func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteDeviceRequest.Merge(m, src)
}
func (m *DeleteDeviceRequest) XXX_Size() int {
return xxx_messageInfo_DeleteDeviceRequest.Size(m)
}
func (m *DeleteDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteDeviceRequest proto.InternalMessageInfo
func (m *DeleteDeviceRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type UpdateDeviceRequest struct {
// Device object to update.
Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateDeviceRequest) Reset() { *m = UpdateDeviceRequest{} }
func (m *UpdateDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateDeviceRequest) ProtoMessage() {}
func (*UpdateDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{32}
}
func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateDeviceRequest.Unmarshal(m, b)
}
func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateDeviceRequest.Marshal(b, m, deterministic)
}
func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateDeviceRequest.Merge(m, src)
}
func (m *UpdateDeviceRequest) XXX_Size() int {
return xxx_messageInfo_UpdateDeviceRequest.Size(m)
}
func (m *UpdateDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateDeviceRequest proto.InternalMessageInfo
func (m *UpdateDeviceRequest) GetDevice() *Device {
if m != nil {
return m.Device
}
return nil
}
type CreateDeviceKeysRequest struct {
// Device-keys object to create.
DeviceKeys *DeviceKeys `protobuf:"bytes,1,opt,name=device_keys,json=deviceKeys,proto3" json:"device_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateDeviceKeysRequest) Reset() { *m = CreateDeviceKeysRequest{} }
func (m *CreateDeviceKeysRequest) String() string { return proto.CompactTextString(m) }
func (*CreateDeviceKeysRequest) ProtoMessage() {}
func (*CreateDeviceKeysRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{33}
}
func (m *CreateDeviceKeysRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateDeviceKeysRequest.Unmarshal(m, b)
}
func (m *CreateDeviceKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateDeviceKeysRequest.Marshal(b, m, deterministic)
}
func (m *CreateDeviceKeysRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateDeviceKeysRequest.Merge(m, src)
}
func (m *CreateDeviceKeysRequest) XXX_Size() int {
return xxx_messageInfo_CreateDeviceKeysRequest.Size(m)
}
func (m *CreateDeviceKeysRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateDeviceKeysRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateDeviceKeysRequest proto.InternalMessageInfo
func (m *CreateDeviceKeysRequest) GetDeviceKeys() *DeviceKeys {
if m != nil {
return m.DeviceKeys
}
return nil
}
type GetDeviceKeysRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceKeysRequest) Reset() { *m = GetDeviceKeysRequest{} }
func (m *GetDeviceKeysRequest) String() string { return proto.CompactTextString(m) }
func (*GetDeviceKeysRequest) ProtoMessage() {}
func (*GetDeviceKeysRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{34}
}
func (m *GetDeviceKeysRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceKeysRequest.Unmarshal(m, b)
}
func (m *GetDeviceKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceKeysRequest.Marshal(b, m, deterministic)
}
func (m *GetDeviceKeysRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceKeysRequest.Merge(m, src)
}
func (m *GetDeviceKeysRequest) XXX_Size() int {
return xxx_messageInfo_GetDeviceKeysRequest.Size(m)
}
func (m *GetDeviceKeysRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceKeysRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceKeysRequest proto.InternalMessageInfo
func (m *GetDeviceKeysRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type GetDeviceKeysResponse struct {
// Device-key object.
DeviceKeys *DeviceKeys `protobuf:"bytes,1,opt,name=device_keys,json=deviceKeys,proto3" json:"device_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceKeysResponse) Reset() { *m = GetDeviceKeysResponse{} }
func (m *GetDeviceKeysResponse) String() string { return proto.CompactTextString(m) }
func (*GetDeviceKeysResponse) ProtoMessage() {}
func (*GetDeviceKeysResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{35}
}
func (m *GetDeviceKeysResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceKeysResponse.Unmarshal(m, b)
}
func (m *GetDeviceKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceKeysResponse.Marshal(b, m, deterministic)
}
func (m *GetDeviceKeysResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceKeysResponse.Merge(m, src)
}
func (m *GetDeviceKeysResponse) XXX_Size() int {
return xxx_messageInfo_GetDeviceKeysResponse.Size(m)
}
func (m *GetDeviceKeysResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceKeysResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceKeysResponse proto.InternalMessageInfo
func (m *GetDeviceKeysResponse) GetDeviceKeys() *DeviceKeys {
if m != nil {
return m.DeviceKeys
}
return nil
}
type UpdateDeviceKeysRequest struct {
// Device-keys object to update.
DeviceKeys *DeviceKeys `protobuf:"bytes,1,opt,name=device_keys,json=deviceKeys,proto3" json:"device_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateDeviceKeysRequest) Reset() { *m = UpdateDeviceKeysRequest{} }
func (m *UpdateDeviceKeysRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateDeviceKeysRequest) ProtoMessage() {}
func (*UpdateDeviceKeysRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{36}
}
func (m *UpdateDeviceKeysRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateDeviceKeysRequest.Unmarshal(m, b)
}
func (m *UpdateDeviceKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateDeviceKeysRequest.Marshal(b, m, deterministic)
}
func (m *UpdateDeviceKeysRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateDeviceKeysRequest.Merge(m, src)
}
func (m *UpdateDeviceKeysRequest) XXX_Size() int {
return xxx_messageInfo_UpdateDeviceKeysRequest.Size(m)
}
func (m *UpdateDeviceKeysRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateDeviceKeysRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateDeviceKeysRequest proto.InternalMessageInfo
func (m *UpdateDeviceKeysRequest) GetDeviceKeys() *DeviceKeys {
if m != nil {
return m.DeviceKeys
}
return nil
}
type DeleteDeviceKeysRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteDeviceKeysRequest) Reset() { *m = DeleteDeviceKeysRequest{} }
func (m *DeleteDeviceKeysRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteDeviceKeysRequest) ProtoMessage() {}
func (*DeleteDeviceKeysRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{37}
}
func (m *DeleteDeviceKeysRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteDeviceKeysRequest.Unmarshal(m, b)
}
func (m *DeleteDeviceKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteDeviceKeysRequest.Marshal(b, m, deterministic)
}
func (m *DeleteDeviceKeysRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteDeviceKeysRequest.Merge(m, src)
}
func (m *DeleteDeviceKeysRequest) XXX_Size() int {
return xxx_messageInfo_DeleteDeviceKeysRequest.Size(m)
}
func (m *DeleteDeviceKeysRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteDeviceKeysRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteDeviceKeysRequest proto.InternalMessageInfo
func (m *DeleteDeviceKeysRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type DeviceActivation struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
// Device address (HEX encoded).
DevAddr string `protobuf:"bytes,2,opt,name=dev_addr,json=devAddr,proto3" json:"dev_addr,omitempty"`
// Application session key (HEX encoded).
AppSKey string `protobuf:"bytes,3,opt,name=app_s_key,json=appSKey,proto3" json:"app_s_key,omitempty"`
// Network session encryption key (HEX encoded).
NwkSEncKey string `protobuf:"bytes,4,opt,name=nwk_s_enc_key,json=nwkSEncKey,proto3" json:"nwk_s_enc_key,omitempty"`
// Serving network session integrity key (HEX encoded).
SNwkSIntKey string `protobuf:"bytes,8,opt,name=s_nwk_s_int_key,json=sNwkSIntKey,proto3" json:"s_nwk_s_int_key,omitempty"`
// Forwarding network session integrity key (HEX encoded).
FNwkSIntKey string `protobuf:"bytes,9,opt,name=f_nwk_s_int_key,json=fNwkSIntKey,proto3" json:"f_nwk_s_int_key,omitempty"`
// Uplink frame-counter.
FCntUp uint32 `protobuf:"varint,5,opt,name=f_cnt_up,json=fCntUp,proto3" json:"f_cnt_up,omitempty"`
// Downlink network frame-counter.
NFCntDown uint32 `protobuf:"varint,6,opt,name=n_f_cnt_down,json=nFCntDown,proto3" json:"n_f_cnt_down,omitempty"`
// Downlink application frame-counter.
AFCntDown uint32 `protobuf:"varint,10,opt,name=a_f_cnt_down,json=aFCntDown,proto3" json:"a_f_cnt_down,omitempty"`
JoinEui string `protobuf:"bytes,11,opt,name=join_eui,json=joinEUI,proto3" json:"join_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeviceActivation) Reset() { *m = DeviceActivation{} }
func (m *DeviceActivation) String() string { return proto.CompactTextString(m) }
func (*DeviceActivation) ProtoMessage() {}
func (*DeviceActivation) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{38}
}
func (m *DeviceActivation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeviceActivation.Unmarshal(m, b)
}
func (m *DeviceActivation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeviceActivation.Marshal(b, m, deterministic)
}
func (m *DeviceActivation) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeviceActivation.Merge(m, src)
}
func (m *DeviceActivation) XXX_Size() int {
return xxx_messageInfo_DeviceActivation.Size(m)
}
func (m *DeviceActivation) XXX_DiscardUnknown() {
xxx_messageInfo_DeviceActivation.DiscardUnknown(m)
}
var xxx_messageInfo_DeviceActivation proto.InternalMessageInfo
func (m *DeviceActivation) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
func (m *DeviceActivation) GetDevAddr() string {
if m != nil {
return m.DevAddr
}
return ""
}
func (m *DeviceActivation) GetAppSKey() string {
if m != nil {
return m.AppSKey
}
return ""
}
func (m *DeviceActivation) GetNwkSEncKey() string {
if m != nil {
return m.NwkSEncKey
}
return ""
}
func (m *DeviceActivation) GetSNwkSIntKey() string {
if m != nil {
return m.SNwkSIntKey
}
return ""
}
func (m *DeviceActivation) GetFNwkSIntKey() string {
if m != nil {
return m.FNwkSIntKey
}
return ""
}
func (m *DeviceActivation) GetFCntUp() uint32 {
if m != nil {
return m.FCntUp
}
return 0
}
func (m *DeviceActivation) GetNFCntDown() uint32 {
if m != nil {
return m.NFCntDown
}
return 0
}
func (m *DeviceActivation) GetAFCntDown() uint32 {
if m != nil {
return m.AFCntDown
}
return 0
}
func (m *DeviceActivation) GetJoinEui() string {
if m != nil {
return m.JoinEui
}
return ""
}
type ActivateDeviceRequest struct {
DeviceActivation *DeviceActivation `protobuf:"bytes,1,opt,name=device_activation,json=deviceActivation,proto3" json:"device_activation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ActivateDeviceRequest) Reset() { *m = ActivateDeviceRequest{} }
func (m *ActivateDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*ActivateDeviceRequest) ProtoMessage() {}
func (*ActivateDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{39}
}
func (m *ActivateDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ActivateDeviceRequest.Unmarshal(m, b)
}
func (m *ActivateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ActivateDeviceRequest.Marshal(b, m, deterministic)
}
func (m *ActivateDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActivateDeviceRequest.Merge(m, src)
}
func (m *ActivateDeviceRequest) XXX_Size() int {
return xxx_messageInfo_ActivateDeviceRequest.Size(m)
}
func (m *ActivateDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ActivateDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ActivateDeviceRequest proto.InternalMessageInfo
func (m *ActivateDeviceRequest) GetDeviceActivation() *DeviceActivation {
if m != nil {
return m.DeviceActivation
}
return nil
}
type DeactivateDeviceRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeactivateDeviceRequest) Reset() { *m = DeactivateDeviceRequest{} }
func (m *DeactivateDeviceRequest) String() string { return proto.CompactTextString(m) }
func (*DeactivateDeviceRequest) ProtoMessage() {}
func (*DeactivateDeviceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{40}
}
func (m *DeactivateDeviceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeactivateDeviceRequest.Unmarshal(m, b)
}
func (m *DeactivateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeactivateDeviceRequest.Marshal(b, m, deterministic)
}
func (m *DeactivateDeviceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeactivateDeviceRequest.Merge(m, src)
}
func (m *DeactivateDeviceRequest) XXX_Size() int {
return xxx_messageInfo_DeactivateDeviceRequest.Size(m)
}
func (m *DeactivateDeviceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeactivateDeviceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeactivateDeviceRequest proto.InternalMessageInfo
func (m *DeactivateDeviceRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type GetDeviceActivationRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceActivationRequest) Reset() { *m = GetDeviceActivationRequest{} }
func (m *GetDeviceActivationRequest) String() string { return proto.CompactTextString(m) }
func (*GetDeviceActivationRequest) ProtoMessage() {}
func (*GetDeviceActivationRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{41}
}
func (m *GetDeviceActivationRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceActivationRequest.Unmarshal(m, b)
}
func (m *GetDeviceActivationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceActivationRequest.Marshal(b, m, deterministic)
}
func (m *GetDeviceActivationRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceActivationRequest.Merge(m, src)
}
func (m *GetDeviceActivationRequest) XXX_Size() int {
return xxx_messageInfo_GetDeviceActivationRequest.Size(m)
}
func (m *GetDeviceActivationRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceActivationRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceActivationRequest proto.InternalMessageInfo
func (m *GetDeviceActivationRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type GetDeviceActivationResponse struct {
// Device-activation object.
DeviceActivation *DeviceActivation `protobuf:"bytes,1,opt,name=device_activation,json=deviceActivation,proto3" json:"device_activation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetDeviceActivationResponse) Reset() { *m = GetDeviceActivationResponse{} }
func (m *GetDeviceActivationResponse) String() string { return proto.CompactTextString(m) }
func (*GetDeviceActivationResponse) ProtoMessage() {}
func (*GetDeviceActivationResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{42}
}
func (m *GetDeviceActivationResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetDeviceActivationResponse.Unmarshal(m, b)
}
func (m *GetDeviceActivationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetDeviceActivationResponse.Marshal(b, m, deterministic)
}
func (m *GetDeviceActivationResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetDeviceActivationResponse.Merge(m, src)
}
func (m *GetDeviceActivationResponse) XXX_Size() int {
return xxx_messageInfo_GetDeviceActivationResponse.Size(m)
}
func (m *GetDeviceActivationResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetDeviceActivationResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetDeviceActivationResponse proto.InternalMessageInfo
func (m *GetDeviceActivationResponse) GetDeviceActivation() *DeviceActivation {
if m != nil {
return m.DeviceActivation
}
return nil
}
type GetRandomDevAddrRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetRandomDevAddrRequest) Reset() { *m = GetRandomDevAddrRequest{} }
func (m *GetRandomDevAddrRequest) String() string { return proto.CompactTextString(m) }
func (*GetRandomDevAddrRequest) ProtoMessage() {}
func (*GetRandomDevAddrRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{43}
}
func (m *GetRandomDevAddrRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRandomDevAddrRequest.Unmarshal(m, b)
}
func (m *GetRandomDevAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRandomDevAddrRequest.Marshal(b, m, deterministic)
}
func (m *GetRandomDevAddrRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRandomDevAddrRequest.Merge(m, src)
}
func (m *GetRandomDevAddrRequest) XXX_Size() int {
return xxx_messageInfo_GetRandomDevAddrRequest.Size(m)
}
func (m *GetRandomDevAddrRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetRandomDevAddrRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetRandomDevAddrRequest proto.InternalMessageInfo
func (m *GetRandomDevAddrRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type GetRandomDevAddrResponse struct {
// Device address (HEX encoded).
DevAddr string `protobuf:"bytes,1,opt,name=dev_addr,json=devAddr,proto3" json:"dev_addr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetRandomDevAddrResponse) Reset() { *m = GetRandomDevAddrResponse{} }
func (m *GetRandomDevAddrResponse) String() string { return proto.CompactTextString(m) }
func (*GetRandomDevAddrResponse) ProtoMessage() {}
func (*GetRandomDevAddrResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{44}
}
func (m *GetRandomDevAddrResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRandomDevAddrResponse.Unmarshal(m, b)
}
func (m *GetRandomDevAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetRandomDevAddrResponse.Marshal(b, m, deterministic)
}
func (m *GetRandomDevAddrResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetRandomDevAddrResponse.Merge(m, src)
}
func (m *GetRandomDevAddrResponse) XXX_Size() int {
return xxx_messageInfo_GetRandomDevAddrResponse.Size(m)
}
func (m *GetRandomDevAddrResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetRandomDevAddrResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetRandomDevAddrResponse proto.InternalMessageInfo
func (m *GetRandomDevAddrResponse) GetDevAddr() string {
if m != nil {
return m.DevAddr
}
return ""
}
type StreamDeviceFrameLogsRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamDeviceFrameLogsRequest) Reset() { *m = StreamDeviceFrameLogsRequest{} }
func (m *StreamDeviceFrameLogsRequest) String() string { return proto.CompactTextString(m) }
func (*StreamDeviceFrameLogsRequest) ProtoMessage() {}
func (*StreamDeviceFrameLogsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{45}
}
func (m *StreamDeviceFrameLogsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamDeviceFrameLogsRequest.Unmarshal(m, b)
}
func (m *StreamDeviceFrameLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamDeviceFrameLogsRequest.Marshal(b, m, deterministic)
}
func (m *StreamDeviceFrameLogsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamDeviceFrameLogsRequest.Merge(m, src)
}
func (m *StreamDeviceFrameLogsRequest) XXX_Size() int {
return xxx_messageInfo_StreamDeviceFrameLogsRequest.Size(m)
}
func (m *StreamDeviceFrameLogsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StreamDeviceFrameLogsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StreamDeviceFrameLogsRequest proto.InternalMessageInfo
func (m *StreamDeviceFrameLogsRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type StreamDeviceFrameLogsResponse struct {
// Types that are valid to be assigned to Frame:
//
// *StreamDeviceFrameLogsResponse_UplinkFrame
// *StreamDeviceFrameLogsResponse_DownlinkFrame
Frame isStreamDeviceFrameLogsResponse_Frame `protobuf_oneof:"frame"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamDeviceFrameLogsResponse) Reset() { *m = StreamDeviceFrameLogsResponse{} }
func (m *StreamDeviceFrameLogsResponse) String() string { return proto.CompactTextString(m) }
func (*StreamDeviceFrameLogsResponse) ProtoMessage() {}
func (*StreamDeviceFrameLogsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{46}
}
func (m *StreamDeviceFrameLogsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamDeviceFrameLogsResponse.Unmarshal(m, b)
}
func (m *StreamDeviceFrameLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamDeviceFrameLogsResponse.Marshal(b, m, deterministic)
}
func (m *StreamDeviceFrameLogsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamDeviceFrameLogsResponse.Merge(m, src)
}
func (m *StreamDeviceFrameLogsResponse) XXX_Size() int {
return xxx_messageInfo_StreamDeviceFrameLogsResponse.Size(m)
}
func (m *StreamDeviceFrameLogsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_StreamDeviceFrameLogsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_StreamDeviceFrameLogsResponse proto.InternalMessageInfo
type isStreamDeviceFrameLogsResponse_Frame interface {
isStreamDeviceFrameLogsResponse_Frame()
}
type StreamDeviceFrameLogsResponse_UplinkFrame struct {
UplinkFrame *UplinkFrameLogForDevice `protobuf:"bytes,1,opt,name=uplink_frame,json=uplinkFrame,proto3,oneof"`
}
type StreamDeviceFrameLogsResponse_DownlinkFrame struct {
DownlinkFrame *DownlinkFrameLogForDevice `protobuf:"bytes,2,opt,name=downlink_frame,json=downlinkFrame,proto3,oneof"`
}
func (*StreamDeviceFrameLogsResponse_UplinkFrame) isStreamDeviceFrameLogsResponse_Frame() {}
func (*StreamDeviceFrameLogsResponse_DownlinkFrame) isStreamDeviceFrameLogsResponse_Frame() {}
func (m *StreamDeviceFrameLogsResponse) GetFrame() isStreamDeviceFrameLogsResponse_Frame {
if m != nil {
return m.Frame
}
return nil
}
func (m *StreamDeviceFrameLogsResponse) GetUplinkFrame() *UplinkFrameLogForDevice {
if x, ok := m.GetFrame().(*StreamDeviceFrameLogsResponse_UplinkFrame); ok {
return x.UplinkFrame
}
return nil
}
func (m *StreamDeviceFrameLogsResponse) GetDownlinkFrame() *DownlinkFrameLogForDevice {
if x, ok := m.GetFrame().(*StreamDeviceFrameLogsResponse_DownlinkFrame); ok {
return x.DownlinkFrame
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*StreamDeviceFrameLogsResponse) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*StreamDeviceFrameLogsResponse_UplinkFrame)(nil),
(*StreamDeviceFrameLogsResponse_DownlinkFrame)(nil),
}
}
type StreamDeviceEventLogsRequest struct {
// Device EUI (HEX encoded).
DevEui string `protobuf:"bytes,1,opt,name=dev_eui,json=devEUI,proto3" json:"dev_eui,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamDeviceEventLogsRequest) Reset() { *m = StreamDeviceEventLogsRequest{} }
func (m *StreamDeviceEventLogsRequest) String() string { return proto.CompactTextString(m) }
func (*StreamDeviceEventLogsRequest) ProtoMessage() {}
func (*StreamDeviceEventLogsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{47}
}
func (m *StreamDeviceEventLogsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamDeviceEventLogsRequest.Unmarshal(m, b)
}
func (m *StreamDeviceEventLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamDeviceEventLogsRequest.Marshal(b, m, deterministic)
}
func (m *StreamDeviceEventLogsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamDeviceEventLogsRequest.Merge(m, src)
}
func (m *StreamDeviceEventLogsRequest) XXX_Size() int {
return xxx_messageInfo_StreamDeviceEventLogsRequest.Size(m)
}
func (m *StreamDeviceEventLogsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StreamDeviceEventLogsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StreamDeviceEventLogsRequest proto.InternalMessageInfo
func (m *StreamDeviceEventLogsRequest) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
type StreamDeviceEventLogsResponse struct {
// The event type.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// The event payload in JSON encoding.
PayloadJson string `protobuf:"bytes,2,opt,name=payload_json,json=payloadJSON,proto3" json:"payload_json,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StreamDeviceEventLogsResponse) Reset() { *m = StreamDeviceEventLogsResponse{} }
func (m *StreamDeviceEventLogsResponse) String() string { return proto.CompactTextString(m) }
func (*StreamDeviceEventLogsResponse) ProtoMessage() {}
func (*StreamDeviceEventLogsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{48}
}
func (m *StreamDeviceEventLogsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StreamDeviceEventLogsResponse.Unmarshal(m, b)
}
func (m *StreamDeviceEventLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StreamDeviceEventLogsResponse.Marshal(b, m, deterministic)
}
func (m *StreamDeviceEventLogsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_StreamDeviceEventLogsResponse.Merge(m, src)
}
func (m *StreamDeviceEventLogsResponse) XXX_Size() int {
return xxx_messageInfo_StreamDeviceEventLogsResponse.Size(m)
}
func (m *StreamDeviceEventLogsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_StreamDeviceEventLogsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_StreamDeviceEventLogsResponse proto.InternalMessageInfo
func (m *StreamDeviceEventLogsResponse) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *StreamDeviceEventLogsResponse) GetPayloadJson() string {
if m != nil {
return m.PayloadJson
}
return ""
}
type ABPDevice struct {
ApplicationId int64 `protobuf:"varint,1,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
DevEui string `protobuf:"bytes,3,opt,name=dev_eui,json=DEVEUI,proto3" json:"dev_eui,omitempty"`
Mac string `protobuf:"bytes,4,opt,name=mac,json=MAC,proto3" json:"mac,omitempty"`
Type string `protobuf:"bytes,5,opt,name=type,json=TYPE,proto3" json:"type,omitempty"`
SkipFCntCheck bool `protobuf:"varint,6,opt,name=skip_f_cnt_check,json=skipFCntCheck,proto3" json:"skip_f_cnt_check,omitempty"`
DevAddr string `protobuf:"bytes,7,opt,name=dev_addr,json=DEVADDR,proto3" json:"dev_addr,omitempty"`
Nwkskey string `protobuf:"bytes,8,opt,name=nwkskey,json=NWKSKEY,proto3" json:"nwkskey,omitempty"`
Appskey string `protobuf:"bytes,9,opt,name=appskey,json=APPSKEY,proto3" json:"appskey,omitempty"`
IsDisabled bool `protobuf:"varint,10,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"`
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ABPDevice) Reset() { *m = ABPDevice{} }
func (m *ABPDevice) String() string { return proto.CompactTextString(m) }
func (*ABPDevice) ProtoMessage() {}
func (*ABPDevice) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{49}
}
func (m *ABPDevice) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ABPDevice.Unmarshal(m, b)
}
func (m *ABPDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ABPDevice.Marshal(b, m, deterministic)
}
func (m *ABPDevice) XXX_Merge(src proto.Message) {
xxx_messageInfo_ABPDevice.Merge(m, src)
}
func (m *ABPDevice) XXX_Size() int {
return xxx_messageInfo_ABPDevice.Size(m)
}
func (m *ABPDevice) XXX_DiscardUnknown() {
xxx_messageInfo_ABPDevice.DiscardUnknown(m)
}
var xxx_messageInfo_ABPDevice proto.InternalMessageInfo
func (m *ABPDevice) GetApplicationId() int64 {
if m != nil {
return m.ApplicationId
}
return 0
}
func (m *ABPDevice) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ABPDevice) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
func (m *ABPDevice) GetMac() string {
if m != nil {
return m.Mac
}
return ""
}
func (m *ABPDevice) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *ABPDevice) GetSkipFCntCheck() bool {
if m != nil {
return m.SkipFCntCheck
}
return false
}
func (m *ABPDevice) GetDevAddr() string {
if m != nil {
return m.DevAddr
}
return ""
}
func (m *ABPDevice) GetNwkskey() string {
if m != nil {
return m.Nwkskey
}
return ""
}
func (m *ABPDevice) GetAppskey() string {
if m != nil {
return m.Appskey
}
return ""
}
func (m *ABPDevice) GetIsDisabled() bool {
if m != nil {
return m.IsDisabled
}
return false
}
func (m *ABPDevice) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
type OTAADevice struct {
ApplicationId int64 `protobuf:"varint,1,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
DevEui string `protobuf:"bytes,3,opt,name=dev_eui,json=DEVEUI,proto3" json:"dev_eui,omitempty"`
Mac string `protobuf:"bytes,4,opt,name=mac,json=MAC,proto3" json:"mac,omitempty"`
Type string `protobuf:"bytes,5,opt,name=type,json=TYPE,proto3" json:"type,omitempty"`
SkipFCntCheck bool `protobuf:"varint,6,opt,name=skip_f_cnt_check,json=skipFCntCheck,proto3" json:"skip_f_cnt_check,omitempty"`
AppEui string `protobuf:"bytes,7,opt,name=app_eui,json=APPEUI,proto3" json:"app_eui,omitempty"`
Appkey string `protobuf:"bytes,8,opt,name=appkey,json=APPKEY,proto3" json:"appkey,omitempty"`
IsDisabled bool `protobuf:"varint,10,opt,name=is_disabled,json=isDisabled,proto3" json:"is_disabled,omitempty"`
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OTAADevice) Reset() { *m = OTAADevice{} }
func (m *OTAADevice) String() string { return proto.CompactTextString(m) }
func (*OTAADevice) ProtoMessage() {}
func (*OTAADevice) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{50}
}
func (m *OTAADevice) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OTAADevice.Unmarshal(m, b)
}
func (m *OTAADevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OTAADevice.Marshal(b, m, deterministic)
}
func (m *OTAADevice) XXX_Merge(src proto.Message) {
xxx_messageInfo_OTAADevice.Merge(m, src)
}
func (m *OTAADevice) XXX_Size() int {
return xxx_messageInfo_OTAADevice.Size(m)
}
func (m *OTAADevice) XXX_DiscardUnknown() {
xxx_messageInfo_OTAADevice.DiscardUnknown(m)
}
var xxx_messageInfo_OTAADevice proto.InternalMessageInfo
func (m *OTAADevice) GetApplicationId() int64 {
if m != nil {
return m.ApplicationId
}
return 0
}
func (m *OTAADevice) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *OTAADevice) GetDevEui() string {
if m != nil {
return m.DevEui
}
return ""
}
func (m *OTAADevice) GetMac() string {
if m != nil {
return m.Mac
}
return ""
}
func (m *OTAADevice) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *OTAADevice) GetSkipFCntCheck() bool {
if m != nil {
return m.SkipFCntCheck
}
return false
}
func (m *OTAADevice) GetAppEui() string {
if m != nil {
return m.AppEui
}
return ""
}
func (m *OTAADevice) GetAppkey() string {
if m != nil {
return m.Appkey
}
return ""
}
func (m *OTAADevice) GetIsDisabled() bool {
if m != nil {
return m.IsDisabled
}
return false
}
func (m *OTAADevice) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
type CSVAdd struct {
Payload []*CSVDevice `protobuf:"bytes,1,rep,name=payload,proto3" json:"payload,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CSVAdd) Reset() { *m = CSVAdd{} }
func (m *CSVAdd) String() string { return proto.CompactTextString(m) }
func (*CSVAdd) ProtoMessage() {}
func (*CSVAdd) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{51}
}
func (m *CSVAdd) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CSVAdd.Unmarshal(m, b)
}
func (m *CSVAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CSVAdd.Marshal(b, m, deterministic)
}
func (m *CSVAdd) XXX_Merge(src proto.Message) {
xxx_messageInfo_CSVAdd.Merge(m, src)
}
func (m *CSVAdd) XXX_Size() int {
return xxx_messageInfo_CSVAdd.Size(m)
}
func (m *CSVAdd) XXX_DiscardUnknown() {
xxx_messageInfo_CSVAdd.DiscardUnknown(m)
}
var xxx_messageInfo_CSVAdd proto.InternalMessageInfo
func (m *CSVAdd) GetPayload() []*CSVDevice {
if m != nil {
return m.Payload
}
return nil
}
type CSVDevice struct {
// Types that are valid to be assigned to Dev:
//
// *CSVDevice_Abp
// *CSVDevice_Otaa
Dev isCSVDevice_Dev `protobuf_oneof:"dev"`
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
FrequencyPlanId string `protobuf:"bytes,4,opt,name=frequency_plan_id,proto3" json:"frequency_plan_id,omitempty"`
LorawanPhyVersion string `protobuf:"bytes,5,opt,name=lorawan_phy_version,proto3" json:"lorawan_phy_version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CSVDevice) Reset() { *m = CSVDevice{} }
func (m *CSVDevice) String() string { return proto.CompactTextString(m) }
func (*CSVDevice) ProtoMessage() {}
func (*CSVDevice) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{52}
}
func (m *CSVDevice) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CSVDevice.Unmarshal(m, b)
}
func (m *CSVDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CSVDevice.Marshal(b, m, deterministic)
}
func (m *CSVDevice) XXX_Merge(src proto.Message) {
xxx_messageInfo_CSVDevice.Merge(m, src)
}
func (m *CSVDevice) XXX_Size() int {
return xxx_messageInfo_CSVDevice.Size(m)
}
func (m *CSVDevice) XXX_DiscardUnknown() {
xxx_messageInfo_CSVDevice.DiscardUnknown(m)
}
var xxx_messageInfo_CSVDevice proto.InternalMessageInfo
type isCSVDevice_Dev interface {
isCSVDevice_Dev()
}
type CSVDevice_Abp struct {
Abp *ABPDevice `protobuf:"bytes,1,opt,name=abp,json=ABP,proto3,oneof"`
}
type CSVDevice_Otaa struct {
Otaa *OTAADevice `protobuf:"bytes,2,opt,name=otaa,json=OTAA,proto3,oneof"`
}
func (*CSVDevice_Abp) isCSVDevice_Dev() {}
func (*CSVDevice_Otaa) isCSVDevice_Dev() {}
func (m *CSVDevice) GetDev() isCSVDevice_Dev {
if m != nil {
return m.Dev
}
return nil
}
func (m *CSVDevice) GetAbp() *ABPDevice {
if x, ok := m.GetDev().(*CSVDevice_Abp); ok {
return x.Abp
}
return nil
}
func (m *CSVDevice) GetOtaa() *OTAADevice {
if x, ok := m.GetDev().(*CSVDevice_Otaa); ok {
return x.Otaa
}
return nil
}
func (m *CSVDevice) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CSVDevice) GetFrequencyPlanId() string {
if m != nil {
return m.FrequencyPlanId
}
return ""
}
func (m *CSVDevice) GetLorawanPhyVersion() string {
if m != nil {
return m.LorawanPhyVersion
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*CSVDevice) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*CSVDevice_Abp)(nil),
(*CSVDevice_Otaa)(nil),
}
}
type CameraAdd struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CameraAdd) Reset() { *m = CameraAdd{} }
func (m *CameraAdd) String() string { return proto.CompactTextString(m) }
func (*CameraAdd) ProtoMessage() {}
func (*CameraAdd) Descriptor() ([]byte, []int) {
return fileDescriptor_57ec3c2ed36f7cf9, []int{53}
}
func (m *CameraAdd) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CameraAdd.Unmarshal(m, b)
}
func (m *CameraAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CameraAdd.Marshal(b, m, deterministic)
}
func (m *CameraAdd) XXX_Merge(src proto.Message) {
xxx_messageInfo_CameraAdd.Merge(m, src)
}
func (m *CameraAdd) XXX_Size() int {
return xxx_messageInfo_CameraAdd.Size(m)
}
func (m *CameraAdd) XXX_DiscardUnknown() {
xxx_messageInfo_CameraAdd.DiscardUnknown(m)
}
var xxx_messageInfo_CameraAdd proto.InternalMessageInfo
func init() {
proto.RegisterType((*StreamDeviceScanningRequest)(nil), "api.StreamDeviceScanningRequest")
proto.RegisterType((*StreamDeviceScanningReponse)(nil), "api.StreamDeviceScanningReponse")
proto.RegisterType((*StreamNFCRequest)(nil), "api.StreamNFCRequest")
proto.RegisterType((*StreamNFCResponse)(nil), "api.StreamNFCResponse")
proto.RegisterType((*LoraWANConfig)(nil), "api.LoraWANConfig")
proto.RegisterType((*LoraNodeBasic)(nil), "api.LoraNodeBasic")
proto.RegisterType((*CollectConfig)(nil), "api.CollectConfig")
proto.RegisterType((*DTUPowerConfig)(nil), "api.DTUPowerConfig")
proto.RegisterType((*DigitalChannel)(nil), "api.DigitalChannel")
proto.RegisterType((*AnalogChannel)(nil), "api.AnalogChannel")
proto.RegisterType((*DigitalOutputConfig)(nil), "api.DigitalOutputConfig")
proto.RegisterType((*DigitalInputConfig)(nil), "api.DigitalInputConfig")
proto.RegisterType((*RS485ModbusConfig)(nil), "api.RS485ModbusConfig")
proto.RegisterType((*Device)(nil), "api.Device")
proto.RegisterMapType((map[string]string)(nil), "api.Device.TagsEntry")
proto.RegisterMapType((map[string]string)(nil), "api.Device.VariablesEntry")
proto.RegisterType((*DeviceListItem)(nil), "api.DeviceListItem")
proto.RegisterType((*DeviceKeys)(nil), "api.DeviceKeys")
proto.RegisterType((*CreateDeviceRequest)(nil), "api.CreateDeviceRequest")
proto.RegisterType((*CreateAndActivateABPEnableDeviceRequest)(nil), "api.CreateAndActivateABPEnableDeviceRequest")
proto.RegisterType((*CreateAndActivateABPEnableDeviceResponse)(nil), "api.CreateAndActivateABPEnableDeviceResponse")
proto.RegisterType((*CreateOTAAEnableDeviceAndKeyRequest)(nil), "api.CreateOTAAEnableDeviceAndKeyRequest")
proto.RegisterType((*GetDeviceDetailsRequest)(nil), "api.GetDeviceDetailsRequest")
proto.RegisterType((*GetDeviceDetailsResponse)(nil), "api.GetDeviceDetailsResponse")
proto.RegisterType((*CreateOTAAEnableDeviceAndKeyResponse)(nil), "api.CreateOTAAEnableDeviceAndKeyResponse")
proto.RegisterType((*CreateDeviceResponse)(nil), "api.CreateDeviceResponse")
proto.RegisterType((*QtcodeCreateDeviceRequest)(nil), "api.QtcodeCreateDeviceRequest")
proto.RegisterType((*QtcodeCreateDeviceResponse)(nil), "api.QtcodeCreateDeviceResponse")
proto.RegisterType((*GetDeviceRequest)(nil), "api.GetDeviceRequest")
proto.RegisterType((*GetDeviceResponse)(nil), "api.GetDeviceResponse")
proto.RegisterType((*DeleteDeviceResponse)(nil), "api.DeleteDeviceResponse")
proto.RegisterType((*ListDeviceRequest)(nil), "api.ListDeviceRequest")
proto.RegisterMapType((map[string]string)(nil), "api.ListDeviceRequest.TagsEntry")
proto.RegisterType((*ListDeviceResponse)(nil), "api.ListDeviceResponse")
proto.RegisterType((*DeleteDeviceRequest)(nil), "api.DeleteDeviceRequest")
proto.RegisterType((*UpdateDeviceRequest)(nil), "api.UpdateDeviceRequest")
proto.RegisterType((*CreateDeviceKeysRequest)(nil), "api.CreateDeviceKeysRequest")
proto.RegisterType((*GetDeviceKeysRequest)(nil), "api.GetDeviceKeysRequest")
proto.RegisterType((*GetDeviceKeysResponse)(nil), "api.GetDeviceKeysResponse")
proto.RegisterType((*UpdateDeviceKeysRequest)(nil), "api.UpdateDeviceKeysRequest")
proto.RegisterType((*DeleteDeviceKeysRequest)(nil), "api.DeleteDeviceKeysRequest")
proto.RegisterType((*DeviceActivation)(nil), "api.DeviceActivation")
proto.RegisterType((*ActivateDeviceRequest)(nil), "api.ActivateDeviceRequest")
proto.RegisterType((*DeactivateDeviceRequest)(nil), "api.DeactivateDeviceRequest")
proto.RegisterType((*GetDeviceActivationRequest)(nil), "api.GetDeviceActivationRequest")
proto.RegisterType((*GetDeviceActivationResponse)(nil), "api.GetDeviceActivationResponse")
proto.RegisterType((*GetRandomDevAddrRequest)(nil), "api.GetRandomDevAddrRequest")
proto.RegisterType((*GetRandomDevAddrResponse)(nil), "api.GetRandomDevAddrResponse")
proto.RegisterType((*StreamDeviceFrameLogsRequest)(nil), "api.StreamDeviceFrameLogsRequest")
proto.RegisterType((*StreamDeviceFrameLogsResponse)(nil), "api.StreamDeviceFrameLogsResponse")
proto.RegisterType((*StreamDeviceEventLogsRequest)(nil), "api.StreamDeviceEventLogsRequest")
proto.RegisterType((*StreamDeviceEventLogsResponse)(nil), "api.StreamDeviceEventLogsResponse")
proto.RegisterType((*ABPDevice)(nil), "api.ABPDevice")
proto.RegisterType((*OTAADevice)(nil), "api.OTAADevice")
proto.RegisterType((*CSVAdd)(nil), "api.CSVAdd")
proto.RegisterType((*CSVDevice)(nil), "api.CSVDevice")
proto.RegisterType((*CameraAdd)(nil), "api.CameraAdd")
}
func init() {
proto.RegisterFile("as/external/api/device.proto", fileDescriptor_57ec3c2ed36f7cf9)
}
var fileDescriptor_57ec3c2ed36f7cf9 = []byte{
// 3375 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0x4d, 0x73, 0x1b, 0xc7,
0xb1, 0x5e, 0x80, 0x00, 0x89, 0x06, 0x3f, 0x87, 0x94, 0x08, 0x41, 0x94, 0x48, 0xad, 0xac, 0x12,
0x25, 0x4b, 0xa4, 0xcc, 0xe7, 0xef, 0xd2, 0xab, 0x7a, 0x20, 0x41, 0xd1, 0x34, 0x25, 0x9a, 0x6f,
0x41, 0xd1, 0xcf, 0xf6, 0x4b, 0xa1, 0x06, 0xbb, 0x03, 0x68, 0xcd, 0xc5, 0xec, 0x7a, 0x77, 0x00,
0x9a, 0x15, 0xbb, 0xca, 0xc9, 0x25, 0xc9, 0x29, 0x95, 0xa4, 0x72, 0xf3, 0x2d, 0x3f, 0x20, 0x97,
0xe4, 0x9e, 0x63, 0x52, 0xa9, 0x9c, 0xf2, 0x03, 0x72, 0x48, 0xee, 0xb9, 0xe6, 0x98, 0x9a, 0x8f,
0x5d, 0xec, 0x02, 0xbb, 0xfc, 0x88, 0x55, 0xae, 0xf2, 0x89, 0xec, 0xe9, 0x9e, 0xfe, 0x9c, 0xee,
0xe9, 0x9e, 0x05, 0x2c, 0xe1, 0x60, 0x9d, 0x7c, 0xc1, 0x88, 0x4f, 0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a, 0x0c, 0xcf, 0x27, 0x29, 0x3a, 0x8c,
0x4c, 0x22, 0xe7, 0xea, 0x20, 0x7e, 0xaf, 0xc1, 0x75, 0x38, 0x81, 0x85, 0xb4, 0xdf, 0x1a, 0xa2,
0x95, 0x11, 0x21, 0x43, 0xbf, 0x71, 0xac, 0x9e, 0x45, 0x21, 0x95, 0xb8, 0x26, 0x94, 0x98, 0x47,
0x73, 0x09, 0x25, 0xf8, 0xdd, 0xf7, 0x48, 0xdb, 0xfc, 0x04, 0x6e, 0xd9, 0xee, 0x9a, 0xf9, 0xc2,
0xf6, 0xbd, 0x80, 0x61, 0xf3, 0x58, 0x70, 0xc3, 0xc1, 0x5a, 0xf8, 0x75, 0x98, 0xc3, 0x9f, 0xbc,
0xd9, 0xb1, 0x19, 0x21, 0x6b, 0xa6, 0xdb, 0x5d, 0xb7, 0xda, 0xbe, 0xdb, 0x72, 0x99, 0x69, 0xad,
0x0f, 0xf6, 0x3c, 0xe4, 0x7c, 0x3b, 0xee, 0xfa, 0xd0, 0x8f, 0x35, 0x5b, 0x45, 0x91, 0x19, 0xff,
0xf5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x85, 0x33, 0x9c, 0xec, 0x5a, 0x2a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// DeviceServiceClient is the client API for DeviceService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type DeviceServiceClient interface {
// Create creates the given device.
Create(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
CreateAndActivateABPEnableDevice(ctx context.Context, in *CreateAndActivateABPEnableDeviceRequest, opts ...grpc.CallOption) (*CreateAndActivateABPEnableDeviceResponse, error)
CreateOTAAEnableDeviceAndKey(ctx context.Context, in *CreateOTAAEnableDeviceAndKeyRequest, opts ...grpc.CallOption) (*CreateOTAAEnableDeviceAndKeyResponse, error)
GetDeviceDetails(ctx context.Context, in *GetDeviceDetailsRequest, opts ...grpc.CallOption) (*GetDeviceDetailsResponse, error)
QtcodeScanCreate(ctx context.Context, in *QtcodeCreateDeviceRequest, opts ...grpc.CallOption) (*QtcodeCreateDeviceResponse, error)
StreamNFC(ctx context.Context, opts ...grpc.CallOption) (DeviceService_StreamNFCClient, error)
// Get returns the device matching the given DevEUI.
Get(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error)
// List returns the available devices.
List(ctx context.Context, in *ListDeviceRequest, opts ...grpc.CallOption) (*ListDeviceResponse, error)
// Delete deletes the device matching the given DevEUI.
Delete(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceResponse, error)
// Update updates the device matching the given DevEUI.
Update(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// CreateKeys creates the given device-keys.
CreateKeys(ctx context.Context, in *CreateDeviceKeysRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// GetKeys returns the device-keys for the given DevEUI.
GetKeys(ctx context.Context, in *GetDeviceKeysRequest, opts ...grpc.CallOption) (*GetDeviceKeysResponse, error)
// UpdateKeys updates the device-keys.
UpdateKeys(ctx context.Context, in *UpdateDeviceKeysRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// DeleteKeys deletes the device-keys for the given DevEUI.
DeleteKeys(ctx context.Context, in *DeleteDeviceKeysRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Activate (re)activates the device with the given parameters (for ABP or for importing OTAA activations).
Activate(ctx context.Context, in *ActivateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Deactivate de-activates the device.
Deactivate(ctx context.Context, in *DeactivateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// GetActivation returns the current activation details of the device (OTAA and ABP).
GetActivation(ctx context.Context, in *GetDeviceActivationRequest, opts ...grpc.CallOption) (*GetDeviceActivationResponse, error)
// GetRandomDevAddr returns a random DevAddr taking the NwkID prefix into account.
GetRandomDevAddr(ctx context.Context, in *GetRandomDevAddrRequest, opts ...grpc.CallOption) (*GetRandomDevAddrResponse, error)
// StreamFrameLogs streams the uplink and downlink frame-logs for the given DevEUI.
// - These are the raw LoRaWAN frames and this endpoint is intended for debugging only.
// - This endpoint does not work from a web-browser.
StreamFrameLogs(ctx context.Context, in *StreamDeviceFrameLogsRequest, opts ...grpc.CallOption) (DeviceService_StreamFrameLogsClient, error)
// StreamEventLogs stream the device events (uplink payloads, ACKs, joins, errors).
// - This endpoint is intended for debugging only.
// - This endpoint does not work from a web-browser.
StreamEventLogs(ctx context.Context, in *StreamDeviceEventLogsRequest, opts ...grpc.CallOption) (DeviceService_StreamEventLogsClient, error)
StreamDeviceScanning(ctx context.Context, in *StreamDeviceScanningRequest, opts ...grpc.CallOption) (DeviceService_StreamDeviceScanningClient, error)
}
type deviceServiceClient struct {
cc grpc.ClientConnInterface
}
func NewDeviceServiceClient(cc grpc.ClientConnInterface) DeviceServiceClient {
return &deviceServiceClient{cc}
}
func (c *deviceServiceClient) Create(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.DeviceService/Create", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) CreateAndActivateABPEnableDevice(ctx context.Context, in *CreateAndActivateABPEnableDeviceRequest, opts ...grpc.CallOption) (*CreateAndActivateABPEnableDeviceResponse, error) {
out := new(CreateAndActivateABPEnableDeviceResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/CreateAndActivateABPEnableDevice", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) CreateOTAAEnableDeviceAndKey(ctx context.Context, in *CreateOTAAEnableDeviceAndKeyRequest, opts ...grpc.CallOption) (*CreateOTAAEnableDeviceAndKeyResponse, error) {
out := new(CreateOTAAEnableDeviceAndKeyResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/CreateOTAAEnableDeviceAndKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) GetDeviceDetails(ctx context.Context, in *GetDeviceDetailsRequest, opts ...grpc.CallOption) (*GetDeviceDetailsResponse, error) {
out := new(GetDeviceDetailsResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/GetDeviceDetails", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) QtcodeScanCreate(ctx context.Context, in *QtcodeCreateDeviceRequest, opts ...grpc.CallOption) (*QtcodeCreateDeviceResponse, error) {
out := new(QtcodeCreateDeviceResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/QtcodeScanCreate", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) StreamNFC(ctx context.Context, opts ...grpc.CallOption) (DeviceService_StreamNFCClient, error) {
stream, err := c.cc.NewStream(ctx, &_DeviceService_serviceDesc.Streams[0], "/api.DeviceService/StreamNFC", opts...)
if err != nil {
return nil, err
}
x := &deviceServiceStreamNFCClient{stream}
return x, nil
}
type DeviceService_StreamNFCClient interface {
Send(*StreamNFCRequest) error
Recv() (*StreamNFCResponse, error)
grpc.ClientStream
}
type deviceServiceStreamNFCClient struct {
grpc.ClientStream
}
func (x *deviceServiceStreamNFCClient) Send(m *StreamNFCRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *deviceServiceStreamNFCClient) Recv() (*StreamNFCResponse, error) {
m := new(StreamNFCResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *deviceServiceClient) Get(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error) {
out := new(GetDeviceResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/Get", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) List(ctx context.Context, in *ListDeviceRequest, opts ...grpc.CallOption) (*ListDeviceResponse, error) {
out := new(ListDeviceResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/List", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) Delete(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceResponse, error) {
out := new(DeleteDeviceResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/Delete", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) Update(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.DeviceService/Update", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) CreateKeys(ctx context.Context, in *CreateDeviceKeysRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.DeviceService/CreateKeys", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) GetKeys(ctx context.Context, in *GetDeviceKeysRequest, opts ...grpc.CallOption) (*GetDeviceKeysResponse, error) {
out := new(GetDeviceKeysResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/GetKeys", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) UpdateKeys(ctx context.Context, in *UpdateDeviceKeysRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.DeviceService/UpdateKeys", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) DeleteKeys(ctx context.Context, in *DeleteDeviceKeysRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.DeviceService/DeleteKeys", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) Activate(ctx context.Context, in *ActivateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.DeviceService/Activate", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) Deactivate(ctx context.Context, in *DeactivateDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.DeviceService/Deactivate", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) GetActivation(ctx context.Context, in *GetDeviceActivationRequest, opts ...grpc.CallOption) (*GetDeviceActivationResponse, error) {
out := new(GetDeviceActivationResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/GetActivation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) GetRandomDevAddr(ctx context.Context, in *GetRandomDevAddrRequest, opts ...grpc.CallOption) (*GetRandomDevAddrResponse, error) {
out := new(GetRandomDevAddrResponse)
err := c.cc.Invoke(ctx, "/api.DeviceService/GetRandomDevAddr", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *deviceServiceClient) StreamFrameLogs(ctx context.Context, in *StreamDeviceFrameLogsRequest, opts ...grpc.CallOption) (DeviceService_StreamFrameLogsClient, error) {
stream, err := c.cc.NewStream(ctx, &_DeviceService_serviceDesc.Streams[1], "/api.DeviceService/StreamFrameLogs", opts...)
if err != nil {
return nil, err
}
x := &deviceServiceStreamFrameLogsClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type DeviceService_StreamFrameLogsClient interface {
Recv() (*StreamDeviceFrameLogsResponse, error)
grpc.ClientStream
}
type deviceServiceStreamFrameLogsClient struct {
grpc.ClientStream
}
func (x *deviceServiceStreamFrameLogsClient) Recv() (*StreamDeviceFrameLogsResponse, error) {
m := new(StreamDeviceFrameLogsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *deviceServiceClient) StreamEventLogs(ctx context.Context, in *StreamDeviceEventLogsRequest, opts ...grpc.CallOption) (DeviceService_StreamEventLogsClient, error) {
stream, err := c.cc.NewStream(ctx, &_DeviceService_serviceDesc.Streams[2], "/api.DeviceService/StreamEventLogs", opts...)
if err != nil {
return nil, err
}
x := &deviceServiceStreamEventLogsClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type DeviceService_StreamEventLogsClient interface {
Recv() (*StreamDeviceEventLogsResponse, error)
grpc.ClientStream
}
type deviceServiceStreamEventLogsClient struct {
grpc.ClientStream
}
func (x *deviceServiceStreamEventLogsClient) Recv() (*StreamDeviceEventLogsResponse, error) {
m := new(StreamDeviceEventLogsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *deviceServiceClient) StreamDeviceScanning(ctx context.Context, in *StreamDeviceScanningRequest, opts ...grpc.CallOption) (DeviceService_StreamDeviceScanningClient, error) {
stream, err := c.cc.NewStream(ctx, &_DeviceService_serviceDesc.Streams[3], "/api.DeviceService/StreamDeviceScanning", opts...)
if err != nil {
return nil, err
}
x := &deviceServiceStreamDeviceScanningClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type DeviceService_StreamDeviceScanningClient interface {
Recv() (*StreamDeviceScanningReponse, error)
grpc.ClientStream
}
type deviceServiceStreamDeviceScanningClient struct {
grpc.ClientStream
}
func (x *deviceServiceStreamDeviceScanningClient) Recv() (*StreamDeviceScanningReponse, error) {
m := new(StreamDeviceScanningReponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// DeviceServiceServer is the server API for DeviceService service.
type DeviceServiceServer interface {
// Create creates the given device.
Create(context.Context, *CreateDeviceRequest) (*emptypb.Empty, error)
CreateAndActivateABPEnableDevice(context.Context, *CreateAndActivateABPEnableDeviceRequest) (*CreateAndActivateABPEnableDeviceResponse, error)
CreateOTAAEnableDeviceAndKey(context.Context, *CreateOTAAEnableDeviceAndKeyRequest) (*CreateOTAAEnableDeviceAndKeyResponse, error)
GetDeviceDetails(context.Context, *GetDeviceDetailsRequest) (*GetDeviceDetailsResponse, error)
QtcodeScanCreate(context.Context, *QtcodeCreateDeviceRequest) (*QtcodeCreateDeviceResponse, error)
StreamNFC(DeviceService_StreamNFCServer) error
// Get returns the device matching the given DevEUI.
Get(context.Context, *GetDeviceRequest) (*GetDeviceResponse, error)
// List returns the available devices.
List(context.Context, *ListDeviceRequest) (*ListDeviceResponse, error)
// Delete deletes the device matching the given DevEUI.
Delete(context.Context, *DeleteDeviceRequest) (*DeleteDeviceResponse, error)
// Update updates the device matching the given DevEUI.
Update(context.Context, *UpdateDeviceRequest) (*emptypb.Empty, error)
// CreateKeys creates the given device-keys.
CreateKeys(context.Context, *CreateDeviceKeysRequest) (*emptypb.Empty, error)
// GetKeys returns the device-keys for the given DevEUI.
GetKeys(context.Context, *GetDeviceKeysRequest) (*GetDeviceKeysResponse, error)
// UpdateKeys updates the device-keys.
UpdateKeys(context.Context, *UpdateDeviceKeysRequest) (*emptypb.Empty, error)
// DeleteKeys deletes the device-keys for the given DevEUI.
DeleteKeys(context.Context, *DeleteDeviceKeysRequest) (*emptypb.Empty, error)
// Activate (re)activates the device with the given parameters (for ABP or for importing OTAA activations).
Activate(context.Context, *ActivateDeviceRequest) (*emptypb.Empty, error)
// Deactivate de-activates the device.
Deactivate(context.Context, *DeactivateDeviceRequest) (*emptypb.Empty, error)
// GetActivation returns the current activation details of the device (OTAA and ABP).
GetActivation(context.Context, *GetDeviceActivationRequest) (*GetDeviceActivationResponse, error)
// GetRandomDevAddr returns a random DevAddr taking the NwkID prefix into account.
GetRandomDevAddr(context.Context, *GetRandomDevAddrRequest) (*GetRandomDevAddrResponse, error)
// StreamFrameLogs streams the uplink and downlink frame-logs for the given DevEUI.
// - These are the raw LoRaWAN frames and this endpoint is intended for debugging only.
// - This endpoint does not work from a web-browser.
StreamFrameLogs(*StreamDeviceFrameLogsRequest, DeviceService_StreamFrameLogsServer) error
// StreamEventLogs stream the device events (uplink payloads, ACKs, joins, errors).
// - This endpoint is intended for debugging only.
// - This endpoint does not work from a web-browser.
StreamEventLogs(*StreamDeviceEventLogsRequest, DeviceService_StreamEventLogsServer) error
StreamDeviceScanning(*StreamDeviceScanningRequest, DeviceService_StreamDeviceScanningServer) error
}
// UnimplementedDeviceServiceServer can be embedded to have forward compatible implementations.
type UnimplementedDeviceServiceServer struct {
}
func (*UnimplementedDeviceServiceServer) Create(ctx context.Context, req *CreateDeviceRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (*UnimplementedDeviceServiceServer) CreateAndActivateABPEnableDevice(ctx context.Context, req *CreateAndActivateABPEnableDeviceRequest) (*CreateAndActivateABPEnableDeviceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateAndActivateABPEnableDevice not implemented")
}
func (*UnimplementedDeviceServiceServer) CreateOTAAEnableDeviceAndKey(ctx context.Context, req *CreateOTAAEnableDeviceAndKeyRequest) (*CreateOTAAEnableDeviceAndKeyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateOTAAEnableDeviceAndKey not implemented")
}
func (*UnimplementedDeviceServiceServer) GetDeviceDetails(ctx context.Context, req *GetDeviceDetailsRequest) (*GetDeviceDetailsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetDeviceDetails not implemented")
}
func (*UnimplementedDeviceServiceServer) QtcodeScanCreate(ctx context.Context, req *QtcodeCreateDeviceRequest) (*QtcodeCreateDeviceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method QtcodeScanCreate not implemented")
}
func (*UnimplementedDeviceServiceServer) StreamNFC(srv DeviceService_StreamNFCServer) error {
return status.Errorf(codes.Unimplemented, "method StreamNFC not implemented")
}
func (*UnimplementedDeviceServiceServer) Get(ctx context.Context, req *GetDeviceRequest) (*GetDeviceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
func (*UnimplementedDeviceServiceServer) List(ctx context.Context, req *ListDeviceRequest) (*ListDeviceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
}
func (*UnimplementedDeviceServiceServer) Delete(ctx context.Context, req *DeleteDeviceRequest) (*DeleteDeviceResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (*UnimplementedDeviceServiceServer) Update(ctx context.Context, req *UpdateDeviceRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (*UnimplementedDeviceServiceServer) CreateKeys(ctx context.Context, req *CreateDeviceKeysRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateKeys not implemented")
}
func (*UnimplementedDeviceServiceServer) GetKeys(ctx context.Context, req *GetDeviceKeysRequest) (*GetDeviceKeysResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetKeys not implemented")
}
func (*UnimplementedDeviceServiceServer) UpdateKeys(ctx context.Context, req *UpdateDeviceKeysRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateKeys not implemented")
}
func (*UnimplementedDeviceServiceServer) DeleteKeys(ctx context.Context, req *DeleteDeviceKeysRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteKeys not implemented")
}
func (*UnimplementedDeviceServiceServer) Activate(ctx context.Context, req *ActivateDeviceRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Activate not implemented")
}
func (*UnimplementedDeviceServiceServer) Deactivate(ctx context.Context, req *DeactivateDeviceRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Deactivate not implemented")
}
func (*UnimplementedDeviceServiceServer) GetActivation(ctx context.Context, req *GetDeviceActivationRequest) (*GetDeviceActivationResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetActivation not implemented")
}
func (*UnimplementedDeviceServiceServer) GetRandomDevAddr(ctx context.Context, req *GetRandomDevAddrRequest) (*GetRandomDevAddrResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetRandomDevAddr not implemented")
}
func (*UnimplementedDeviceServiceServer) StreamFrameLogs(req *StreamDeviceFrameLogsRequest, srv DeviceService_StreamFrameLogsServer) error {
return status.Errorf(codes.Unimplemented, "method StreamFrameLogs not implemented")
}
func (*UnimplementedDeviceServiceServer) StreamEventLogs(req *StreamDeviceEventLogsRequest, srv DeviceService_StreamEventLogsServer) error {
return status.Errorf(codes.Unimplemented, "method StreamEventLogs not implemented")
}
func (*UnimplementedDeviceServiceServer) StreamDeviceScanning(req *StreamDeviceScanningRequest, srv DeviceService_StreamDeviceScanningServer) error {
return status.Errorf(codes.Unimplemented, "method StreamDeviceScanning not implemented")
}
func RegisterDeviceServiceServer(s *grpc.Server, srv DeviceServiceServer) {
s.RegisterService(&_DeviceService_serviceDesc, srv)
}
func _DeviceService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).Create(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).Create(ctx, req.(*CreateDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_CreateAndActivateABPEnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateAndActivateABPEnableDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).CreateAndActivateABPEnableDevice(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/CreateAndActivateABPEnableDevice",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).CreateAndActivateABPEnableDevice(ctx, req.(*CreateAndActivateABPEnableDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_CreateOTAAEnableDeviceAndKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateOTAAEnableDeviceAndKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).CreateOTAAEnableDeviceAndKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/CreateOTAAEnableDeviceAndKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).CreateOTAAEnableDeviceAndKey(ctx, req.(*CreateOTAAEnableDeviceAndKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_GetDeviceDetails_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetDeviceDetailsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).GetDeviceDetails(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/GetDeviceDetails",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).GetDeviceDetails(ctx, req.(*GetDeviceDetailsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_QtcodeScanCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QtcodeCreateDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).QtcodeScanCreate(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/QtcodeScanCreate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).QtcodeScanCreate(ctx, req.(*QtcodeCreateDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_StreamNFC_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(DeviceServiceServer).StreamNFC(&deviceServiceStreamNFCServer{stream})
}
type DeviceService_StreamNFCServer interface {
Send(*StreamNFCResponse) error
Recv() (*StreamNFCRequest, error)
grpc.ServerStream
}
type deviceServiceStreamNFCServer struct {
grpc.ServerStream
}
func (x *deviceServiceStreamNFCServer) Send(m *StreamNFCResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *deviceServiceStreamNFCServer) Recv() (*StreamNFCRequest, error) {
m := new(StreamNFCRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _DeviceService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).Get(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/Get",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).Get(ctx, req.(*GetDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).List(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/List",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).List(ctx, req.(*ListDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).Delete(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/Delete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).Delete(ctx, req.(*DeleteDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).Update(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).Update(ctx, req.(*UpdateDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_CreateKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateDeviceKeysRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).CreateKeys(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/CreateKeys",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).CreateKeys(ctx, req.(*CreateDeviceKeysRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_GetKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetDeviceKeysRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).GetKeys(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/GetKeys",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).GetKeys(ctx, req.(*GetDeviceKeysRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_UpdateKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateDeviceKeysRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).UpdateKeys(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/UpdateKeys",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).UpdateKeys(ctx, req.(*UpdateDeviceKeysRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_DeleteKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteDeviceKeysRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).DeleteKeys(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/DeleteKeys",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).DeleteKeys(ctx, req.(*DeleteDeviceKeysRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_Activate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ActivateDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).Activate(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/Activate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).Activate(ctx, req.(*ActivateDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_Deactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeactivateDeviceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).Deactivate(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/Deactivate",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).Deactivate(ctx, req.(*DeactivateDeviceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_GetActivation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetDeviceActivationRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).GetActivation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/GetActivation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).GetActivation(ctx, req.(*GetDeviceActivationRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_GetRandomDevAddr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetRandomDevAddrRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeviceServiceServer).GetRandomDevAddr(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.DeviceService/GetRandomDevAddr",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeviceServiceServer).GetRandomDevAddr(ctx, req.(*GetRandomDevAddrRequest))
}
return interceptor(ctx, in, info, handler)
}
func _DeviceService_StreamFrameLogs_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamDeviceFrameLogsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DeviceServiceServer).StreamFrameLogs(m, &deviceServiceStreamFrameLogsServer{stream})
}
type DeviceService_StreamFrameLogsServer interface {
Send(*StreamDeviceFrameLogsResponse) error
grpc.ServerStream
}
type deviceServiceStreamFrameLogsServer struct {
grpc.ServerStream
}
func (x *deviceServiceStreamFrameLogsServer) Send(m *StreamDeviceFrameLogsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _DeviceService_StreamEventLogs_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamDeviceEventLogsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DeviceServiceServer).StreamEventLogs(m, &deviceServiceStreamEventLogsServer{stream})
}
type DeviceService_StreamEventLogsServer interface {
Send(*StreamDeviceEventLogsResponse) error
grpc.ServerStream
}
type deviceServiceStreamEventLogsServer struct {
grpc.ServerStream
}
func (x *deviceServiceStreamEventLogsServer) Send(m *StreamDeviceEventLogsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _DeviceService_StreamDeviceScanning_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamDeviceScanningRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DeviceServiceServer).StreamDeviceScanning(m, &deviceServiceStreamDeviceScanningServer{stream})
}
type DeviceService_StreamDeviceScanningServer interface {
Send(*StreamDeviceScanningReponse) error
grpc.ServerStream
}
type deviceServiceStreamDeviceScanningServer struct {
grpc.ServerStream
}
func (x *deviceServiceStreamDeviceScanningServer) Send(m *StreamDeviceScanningReponse) error {
return x.ServerStream.SendMsg(m)
}
var _DeviceService_serviceDesc = grpc.ServiceDesc{
ServiceName: "api.DeviceService",
HandlerType: (*DeviceServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Create",
Handler: _DeviceService_Create_Handler,
},
{
MethodName: "CreateAndActivateABPEnableDevice",
Handler: _DeviceService_CreateAndActivateABPEnableDevice_Handler,
},
{
MethodName: "CreateOTAAEnableDeviceAndKey",
Handler: _DeviceService_CreateOTAAEnableDeviceAndKey_Handler,
},
{
MethodName: "GetDeviceDetails",
Handler: _DeviceService_GetDeviceDetails_Handler,
},
{
MethodName: "QtcodeScanCreate",
Handler: _DeviceService_QtcodeScanCreate_Handler,
},
{
MethodName: "Get",
Handler: _DeviceService_Get_Handler,
},
{
MethodName: "List",
Handler: _DeviceService_List_Handler,
},
{
MethodName: "Delete",
Handler: _DeviceService_Delete_Handler,
},
{
MethodName: "Update",
Handler: _DeviceService_Update_Handler,
},
{
MethodName: "CreateKeys",
Handler: _DeviceService_CreateKeys_Handler,
},
{
MethodName: "GetKeys",
Handler: _DeviceService_GetKeys_Handler,
},
{
MethodName: "UpdateKeys",
Handler: _DeviceService_UpdateKeys_Handler,
},
{
MethodName: "DeleteKeys",
Handler: _DeviceService_DeleteKeys_Handler,
},
{
MethodName: "Activate",
Handler: _DeviceService_Activate_Handler,
},
{
MethodName: "Deactivate",
Handler: _DeviceService_Deactivate_Handler,
},
{
MethodName: "GetActivation",
Handler: _DeviceService_GetActivation_Handler,
},
{
MethodName: "GetRandomDevAddr",
Handler: _DeviceService_GetRandomDevAddr_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "StreamNFC",
Handler: _DeviceService_StreamNFC_Handler,
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "StreamFrameLogs",
Handler: _DeviceService_StreamFrameLogs_Handler,
ServerStreams: true,
},
{
StreamName: "StreamEventLogs",
Handler: _DeviceService_StreamEventLogs_Handler,
ServerStreams: true,
},
{
StreamName: "StreamDeviceScanning",
Handler: _DeviceService_StreamDeviceScanning_Handler,
ServerStreams: true,
},
},
Metadata: "as/external/api/device.proto",
}
1
https://gitee.com/dfrobotcd/chirpstack-api.git
git@gitee.com:dfrobotcd/chirpstack-api.git
dfrobotcd
chirpstack-api
chirpstack-api
aa633c65648f

搜索帮助