| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466 |
- test cases:
- - CI ready: 'Yes'
- ID: SYS_MISC_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 reboot
- - [R SSC1 C !!!ready!!!]
- comment: ''
- execution time: 0.0
- expected result: 重启成功
- initial condition: None
- initial condition description (auto): none
- level: Integration
- module: System
- steps: 系统重启
- sub module: Misc
- summary: test reboot function
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: sw reboot
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: SYS_MISC_0201
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ram -H
- - ['R SSC1 RE FREEHEAP:\d+\r\n']
- comment: ''
- execution time: 0.0
- expected result: '
- 可以查询到一个数值
- '
- initial condition: None
- initial condition description (auto): none
- level: Integration
- module: System
- steps: 查询空闲ram
- sub module: Misc
- summary: get heap size test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: 'get heap size '
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -i 0.0.0.0
- - [R SSC1 C +IP]
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['']
- - - DELAY 20
- - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
- - - SSC SSC1 dhcp -S -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -Q
- - ['R SSC1 C +STAIP:0.0.0.0']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 ip -Q
- - ['R SSC1 RE "\+STAIP:%%s"%%(<target_ip>)']
- comment: ''
- execution time: 0.0
- expected result: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n\
- 4.target1 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip"
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: TCPIP
- steps: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n4.target1\
- \ 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip"
- sub module: DHCP
- summary: dhcp client function test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP client function test
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 op -S -o 3
- - ['R SSC1 C +MODE:OK']
- - - SSC SSC1 dhcp -S -o 3
- - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
- - - SSC SSC1 dhcp -Q -o 3
- - ['R SSC1 C +DHCP:STA,STARTED C +DHCP:AP,STARTED']
- - - SSC SSC1 dhcp -Q -o 1
- - ['R SSC1 C +DHCP:STA,STARTED NC +DHCP:AP,STARTED']
- - - SSC SSC1 dhcp -Q -o 2
- - ['R SSC1 NC +DHCP:STA,STARTED C +DHCP:AP,STARTED']
- - - SSC SSC1 dhcp -E -o 3
- - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
- - - SSC SSC1 dhcp -Q -o 3
- - ['R SSC1 C +DHCP:STA,STOPPED C +DHCP:AP,STOPPED']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.STA&AP STARTED
- 4.STA STARTED
- 5.AP STARTED
- 6.OK
- 7.STA&AP STOPPED'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: TCPIP
- steps: '1.target1 设置mode 为sta+softAP mode
- 2.target1 打开DHCP 3
- 3.target1 查询DHCP 状态
- 4.target1 查询sta DHCP 状态
- 5.target1 查询softAP DHCP 状态
- 6.target1 关闭 DHCP 3
- 7.target1 查询 DHCP 状态'
- sub module: DHCP
- summary: dhcp status query
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP client function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0201
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.1 -e 192.168.4.10
- - ['R SSC1 C +DHCP:LEASE,ERROR']
- - - SSC SSC1 dhcp -L -s 192.168.4.5 -e 192.168.4.2
- - ['R SSC1 C +DHCP:LEASE,ERROR']
- - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.5
- - ['R SSC1 C +DHCP:LEASE,ERROR']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.target1 关闭DHCP 2 OK
- 2.target1 设置ip 成功
- 3.设置dhcp 地址池 OK
- 4.ERROR
- 5.ERROR
- 6.ERROR
- 7.target1 打开DHCP ok'
- initial condition: APM1
- initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
- condition APSTA1
- level: Integration
- module: TCPIP
- steps: "1.target1 关闭DHCP 2 \n2.target1 设置ip \n3.设置dhcp 地址池\n4.设置dhcp错误的参数\n5.设置dhcp错误的参数\n\
- 6.设置dhcp错误的参数\n7.target1 打开DHCP ok"
- sub module: DHCP
- summary: server dhcp lease test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0202
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - LOOP 3 4 "['01','02','03']" "[2,3,4]"
- - ['']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
- - ['R SSC2 C +MAC:STA,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:192.168.4.{%s}']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3,4: get IP from dhcp pool with correct sequence'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. config DHCP Server on Target1
- 3. target change mac, connect to Target1
- 4. Loop step3'
- sub module: DHCP
- summary: dhcp server ip pool
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0203
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - LOOP 2 4 "['01','02']" "[2,3]"
- - ['']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
- - ['R SSC2 C +MAC:STA,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:192.168.4.{%s}']
- - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
- - ['R SSC2 C +MAC:STA,OK']
- - - DELAY 20
- - ['']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:0.0.0.0']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4.1 succeed
- 4.2 failed'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. config DHCP Server on Target1(.4.2 - .4.3)
- 3. target change mac, connect to Target1
- 4. Loop step3 twice'
- sub module: DHCP
- summary: dhcp server ip pool empty
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0204
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3 -t 1
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:192.168.4.2']
- - - DELAY 90
- - ['']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:192.168.4.2']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +JAP:DISCONNECTED']
- - - DELAY 60
- - ['']
- - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
- - ['R SSC2 C +MAC:STA,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:192.168.4.2']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. get IP 192.168.4.2
- 5. succeed
- 6. succeed
- 8. get IP 192.168.4.2'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. config DHCP timeout as 1 minute
- 3. target2 connect to target1
- 4. wait 90 seconds
- 5. check if target2 IP is same
- 6. target2 disconnect
- 7. wait 60s
- 8. target2 change mac and connect to target1'
- sub module: DHCP
- summary: dhcp server timeout test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0205
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3 -t 1
- - ['P SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['P SSC1 C +DHCP:AP,OK', 'P SSC2 C +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. target2 wifi disconnected'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. target2 connect to target1
- 3. disable DHCP server, do config and enable'
- sub module: DHCP
- summary: disconnect STA if config dhcp server
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0206
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - LOOP 4 4 "['01','02','03','01']" "[2,3,4,2]"
- - ['']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
- - ['R SSC2 C +MAC:STA,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:192.168.4.{%s}']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 4. get IP 192.168.4.2 - 192.168.4.4
- 5. get IP 192.168.4.2'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. disable DHCP server, do config and enable
- 3. target2 change mac, connect to softap, disconnect
- 4. Loop step3 twice
- 5. change to first mac, connect to softap'
- sub module: DHCP
- summary: dhcp server assign same IP to same MAC when it's not released
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0207
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - WIFI <pc_wifi_nic> DISCONN2
- - ['R PC_COM NC ERROR C +WIFIDISCONN:OK']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
- - ['R SSC2 C +MAC:STA,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 ip -Q -o 1
- - ['R SSC2 C +STAIP:192.168.4.2']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. get IP 192.168.4.2
- 4. succeed
- 5. succeed
- 6. get IP 192.168.4.2'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. disable DHCP server, do config and enable
- 3. PC WIFI NIC connect to target1 softap
- 4. target2 connect to target1 softap and disnnect
- 5. PC release IP and disconnected
- 6. target2 change mac and connect to target1'
- sub module: DHCP
- summary: dhcp server prefer assign released IP to new client
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0208
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['P SSC1 C +DHCP:AP,OK', 'P SSC2 C +JAP:DISCONNECTED']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +JAP:DISCONNECTED']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 P <pc_wifi_nic_mac>]
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4. get IP 192.168.4.2
- 5. can only find target2 with IP 192.168.4.2'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. PC NIC connect to target1 softap
- 3. disable DHCP server, do config and enable
- 4. target2 connect to target1 softap
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig and new client able to get first IP in pool
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0209
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - DELAY 20
- - ['']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4. succeed
- 5. find target2 and PC'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. target2 connect to target1 softap
- 3. disable DHCP server, do config and enable
- 4. PC NIC connect to target1 softap
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client and new client able to get IP
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0210
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - WIFI <pc_wifi_nic> CONN2 <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4. succeed
- 5. find target2 and PC'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. target2 connect to target1 softap
- 3. disable DHCP server, do config and enable
- 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client able to get IP (discover with requested
- IP)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0211
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - DELAY 30
- - ['']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4. succeed
- 5. find target2 and PC'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. config softap to a random ssid
- 2. target2 connect to target1 softap
- 3. disable DHCP server, do config and enable
- 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client able to renew IP (direct send request)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0212
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 20
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target\
- \ 1,FAIL \n4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target 1,FAIL \n\
- 4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
- sub module: DHCP
- summary: dhcp server function test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0301
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -i 192.168.123.123 -o 1
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 ip -S -i 0.0.0.0 -o 1
- - [R SSC1 C +IP]
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['']
- - - DELAY 10
- - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.JAP CONNETED
- 4.OK
- 5.等待10s,JAP fail'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: TCPIP
- steps: '1.target1 关闭DHCP 1
- 2.target1 设置sta ip 192.168.123.123
- 4.target1 jap AP
- 5.target1 设置sta ip 0.0.0.0
- 6.target1 jap AP'
- sub module: DHCP
- summary: sta dhcp static ip interaction
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: static IP and DHCP interaction test
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_DHCP_0302
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 ip -S -i 192.168.123.123 -o 2
- - ['R SSC1 C +IP:ERROR']
- - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.10
- - ['R SSC1 C +DHCP:LEASE,ERROR']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['P SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 ip -S -i 192.168.4.1 -o 2
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.10
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 10
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '1.target 1 OK
- 2.target1 ERROR
- 3.target1 ERROR
- 4.target2 jap target1 OK
- 5.target1 OK
- 6.target1 OK
- 7.target1 OK
- 8.target2 jap target1 OK'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n3.target1 设置地址池\n\
- 4.target1下设置ssid 和pwd 加密方式\n5.target2 连接target1 \n6.target1 关闭DHCP 2\n7.target1\
- \ 设置softAP ip \n8.target1 设置正确的地址池\n9.target2 连接target1 "
- sub module: DHCP
- summary: ap dhcp static ip interaction
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: static IP and DHCP interaction test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DNS_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 3/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -H -d iot.espressif.cn
- - ['R SSC1 C +HOSTIP:OK,115.29.202.58']
- comment: ''
- execution time: 0.0
- expected result: 1.OK
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: 1. get host name "espressif.cn"
- sub module: DNS
- summary: get host by name test
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DNS function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_DNS_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 3/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -H -d factory.espressif.cn
- - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <ip_addr> -p 9001
- - ['R SSC1 RE \+CONNECT:\d+,OK']
- - - SSC SSC1 soc -S -s <sock1> -l 10
- - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. get host name "espressif.cn"
- 2. connect, send, recv1. get host name "espressif.cn"
- 2. connect, send, recv'
- sub module: DNS
- summary: TCP connect to iot.espressif.com
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DNS function test
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_DNS_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 3/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -H -d factory.espressif.cn
- - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
- - - SSC SSC1 soc -B -t UDP
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <ip_addr> -p 9003 -l 10
- - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. get host name "espressif.cn"
- 2. sendto, recvfrom1. get host name "espressif.cn"
- 2. sendto, recvfrom'
- sub module: DNS
- summary: UDP send to iot.expressif.com
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DNS function test
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_ICMP_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ping -i <pc_ip>
- - ['R SSC1 C +PING:OK']
- - - SSC SSC1 ping -i <pc_ip> -c 2
- - ['R SSC1 C +PING:OK']
- comment: ''
- execution time: 0.0
- expected result: '1.ok
- 2.ok'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.ping -i <pc_ip>
- 2.ping -i <pc_ip> -c 2'
- sub module: ICMP
- summary: ping function test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: ping function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1. success
- 2. failed
- 3. failed
- 4. failed'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
- 2. join group with correct host addr and wrong multicast addr
- 3. join group with wrong host addr and correct multicast addr
- 4. join group with wrong host addr and wrong multicast addr'
- sub module: IGMP
- summary: station IGMP join group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1. success
- 2. failed
- 3. failed
- 4. failed
- 5. succeed'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
- 2. leave group with correct host addr and wrong multicast addr
- 3. leave group with wrong host addr and correct multicast addr
- 4. leave group with wrong host addr and wrong multicast addr
- 5. leave group with correct host addr and correct multicast addr'
- sub module: IGMP
- summary: station IGMP leave group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 223.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1. success
- 2. failed
- 3. failed
- 4. failed'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
- 2. join group with correct host addr and wrong multicast addr
- 3. join group with wrong host addr and correct multicast addr
- 4. join group with wrong host addr and wrong multicast addr'
- sub module: IGMP
- summary: softAP IGMP join group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0104
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1. success
- 2. failed
- 3. failed
- 4. failed
- 5. succeed'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
- 2. leave group with correct host addr and wrong multicast addr
- 3. leave group with wrong host addr and correct multicast addr
- 4. leave group with wrong host addr and wrong multicast addr
- 5. leave group with correct host addr and correct multicast addr'
- sub module: IGMP
- summary: softAP IGMP leave group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0201
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SOC SOC1 BIND <test_udp_port1>
- - [R SOC_COM L OK]
- - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. able to recv packet'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. join group
- 2. create UDP socket using multicast addr
- 3. PC send UDP packet to multicast addr'
- sub module: IGMP
- summary: station IGMP recv packets
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0202
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC2 op -S -o 1
- - ['R SSC2 C +MODE:OK']
- - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4. target1 recv multicast packet'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. target2 set to sta mode and join AP
- 2. target1 join group and create UDP socket using multicast addr
- 3. target2 create UDP socket
- 4. target2 send to multicast addr'
- sub module: IGMP
- summary: station send multicast packets
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0203
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. able to recv packet'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1. join group
- 2. create UDP socket using multicast addr
- 3. PC send UDP packet to multicast addr'
- sub module: IGMP
- summary: softAP IGMP recv packets
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0204
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4. target1 recv multicast packet'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1. target2 join SoftAP
- 2. target1 join group and create UDP socket using multicast addr
- 3. target2 create UDP socket
- 4. target2 send to multicast addr'
- sub module: IGMP
- summary: softAP send multicast packets
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IP_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 dhcp -S -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.123.123
- - ['R SSC1 C +IP:ERROR']
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.123.123
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.123.123']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.ERROR
- 3.OK
- 4.OK
- 5.STAIP:192.168.123.123'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: TCPIP
- steps: '1.target1 打开DHCP 1
- 2.target1 设置sta ip 192.168.123.123
- 4.target1 关闭DHCP 1
- 5.target1 设置sta ip 192.168.123.123
- 6.target1 查询 当前sta ip '
- sub module: IP
- summary: sta set and query static ip test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: set and query static IP
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IP_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 ip -S -o 2 -i 192.168.123.123
- - ['R SSC1 C +IP:ERROR']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 ip -S -o 2 -i 192.168.123.123
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 2
- - ['R SSC1 C +APIP:192.168.123.123']
- - - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
- - ['R SSC1 C +IP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.ERROR
- 3.OK
- 4.OK
- 5.APIP:192.168.123.123
- 6.OK'
- initial condition: APM1
- initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
- condition APSTA1
- level: Integration
- module: TCPIP
- steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n4.target1 关闭DHCP\
- \ 2\n5.target1 设置softAP ip 192.168.123.123\n6.target1 查询 当前sta ip \n7.target1\
- \ 设置softAP ip 为target_ap_ip"
- sub module: IP
- summary: ap set and query static ip test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: set and query static IP
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.ERROR
- 6.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
- 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
- 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
- sub module: TCP
- summary: STA mode, connect test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC1 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
- - - SOC SOC1 CONNECT <test_tcp_port2> <target_ip>
- - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.PC TCP client accept
- 4.error'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
- 2.target1上使用步骤1创建的socket,创建TCP 监听
- 3.PC TCP 连接到target1 <random_port>,<target_ip>
- 4.PC tcp 连接到不存在的port ,<target_ip>'
- sub module: TCP
- summary: STA mode, server listen test. use different kinds of port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SOC SOC2 SEND 5
- - [R SSC1 SL <sock1>+5]
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
- - - SOC SOC2 SEND 146000
- - [R SSC1 SL <sock1>+146000]
- - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc上回accept
- 4.OK
- 5.target收到5 byte
- 6.PC收到5 byte
- 7.target收到 146000 byte
- 8.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
- 4.PC与target1 创建好TCP 连接,有ACCEPT
- 5.PC send 5 bytes to 8266
- 6.8266 send 5 bytes to PC
- 7. PC send 100 * 1460 data to 8266,
- 8.8266 send 100 * 1460 to PC. '
- sub module: TCP
- summary: STA mode, send/recv basic test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0104
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1> -h B
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2> -h W
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h R
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept OK
- 4.OK
- 5.OK
- 6.OK,pc tcp server accept OK
- 7.OK
- 8.OK
- 9.OK,pc tcp server accept OK
- 10.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 4.target1 shutdown socket1 B
- 5.target1上创建TCP socket
- 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 7.target1 shutdown socket2 W
- 8.target1上创建TCP socket
- 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 10.target1 shutdown socket3 R'
- sub module: TCP
- summary: STA mode, shutdown basic test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0105
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -T -s <sock2>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- 6.OK
- 7.target1关闭socket1
- 8.target1关闭socket2
- 9.OK
- 10.OK,pc tcp server accept成功
- 11.target1关闭socket1
- 12.OK
- 13.OK,pc tcp server accept成功
- 14.OK
- 15.target1关闭socket1'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
- 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
- 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
- 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
- sub module: TCP
- summary: STA mode, close for different types of TCP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0106
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock4>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock5>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept成功
- 4 OK
- 5.OK,pc tcp server accept成功
- 6.OK
- 7.OK,pc tcp server accept成功
- 8 OK
- 9.OK,pc tcp server accept成功
- 10.OK
- 11.OK,pc tcp server accept成功'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 4.target1上创建TCP socket2
- 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 6.target1上创建TCP socket3
- 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 8.target1上创建TCP socket4
- 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 10.target1上创建TCP socket5
- 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
- sub module: TCP
- summary: STA mode, create max TCP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0107
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC3 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC4 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC5 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC6 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- comment: ''
- execution time: 0.0
- expected result: '1.+BIND:0,OK,0.0.0.0
- 2.OK
- 3.OK,pc tcp server accept成功
- 4.OK,pc tcp server accept成功
- 5.OK,pc tcp server accept成功
- 6.OK,pc tcp server accept成功
- 7.OK,pc tcp server accept成功'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
- \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6\
- \ "
- sub module: TCP
- summary: STA mode, accept max TCP client by server test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0110
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port2>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.ERROR
- 6.ERROR'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
- 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
- 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
- sub module: TCP
- summary: AP mode, connect test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0111
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC1 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
- - - SOC SOC1 CONNECT <test_tcp_port2> <target_ap_ip> 0 <pc_ip_wifi>
- - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.PC TCP client accept
- 4.error'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
- 2.target1上使用步骤1创建的socket,创建TCP 监听
- 3.PC TCP 连接到target1 <random_port>,<target_ip>
- 4.PC tcp 连接到不存在的port ,<target_ip>'
- sub module: TCP
- summary: AP mode, server listen test. use different kinds of port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0112
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SOC SOC2 SEND 5
- - [R SSC1 SL <sock1>+5]
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
- - - SOC SOC2 SEND 146000
- - [R SSC1 SL <sock1>+146000]
- - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept成功
- 4.OK
- 5.target收到5byte数据
- 6.PC收到5byte数据
- 7.target收到146000 byte数据
- 8.OK,PC 收到146000 byte数据'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
- 4.PC与target1 创建好TCP 连接,有ACCEPT
- 5.PC send 5 bytes to 8266
- 6.8266 send 5 bytes to PC
- 7. PC send 100 * 1460 data to 8266,
- 8.8266 send 100 * 1460 to PC. '
- sub module: TCP
- summary: AP mode, send/recv basic test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0113
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1> -h B
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2> -h W
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h R
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept成功
- 4.OK
- 5.OK
- 6.OK,pc tcp server accept成功
- 7.OK
- 8.OK
- 9.OK,pc tcp server accept成功
- 10.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 4.target1 shutdown socket1 B
- 5.target1上创建TCP socket
- 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 7.target1 shutdown socket2 W
- 8.target1上创建TCP socket
- 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 10.target1 shutdown socket3 R'
- sub module: TCP
- summary: AP mode, shutdown basic test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0114
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -T -s <sock2>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- 6.OK,target1上accept 成功
- 7.target1关闭socket1
- 8.target1关闭socket2
- 9.OK
- 10.OK,pc tcp server accept成功
- 11.target1关闭socket1
- 12.OK
- 13.OK,pc tcp server accept成功
- 14.OK
- 15.target1关闭socket1'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
- 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
- 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
- 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
- sub module: TCP
- summary: AP mode, close for different types of TCP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0115
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock4>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock4> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock5>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock5> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept成功
- 4 OK
- 5.OK,pc tcp server accept成功
- 6.OK
- 7.OK,pc tcp server accept成功
- 8 OK
- 9.OK,pc tcp server accept成功
- 10.OK
- 11.OK,pc tcp server accept成功'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 4.target1上创建TCP socket2
- 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 6.target1上创建TCP socket3
- 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 8.target1上创建TCP socket4
- 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 10.target1上创建TCP socket5
- 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
- sub module: TCP
- summary: AP mode, create max TCP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0116
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC3 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC4 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC5 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC6 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- comment: ''
- execution time: 0.0
- expected result: '1.+BIND:0,OK,0.0.0.0
- 2.OK
- 3.OK,pc tcp server accept成功
- 4.OK,pc tcp server accept成功
- 5.OK,pc tcp server accept成功
- 6.OK,pc tcp server accept成功
- 7.OK,pc tcp server accept成功'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
- \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6\
- \ "
- sub module: TCP
- summary: AP mode, accept max TCP client by server test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0201
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h B
- - ['P SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -T
- - [R SSC1 C +CLOSEALL]
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.ok
- 2.OK
- 3.ERROR
- 4.OK
- 5.OK
- 6.ERROR
- 7.OK
- 8.OK
- 9.OK
- 10.OK
- 11.OK
- 12.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
- 4.target1上创建TCP socket
- 5.target1上使用步骤4创建的socket,创建TCP 监听
- 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
- 7.target1上创建TCP socket
- 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
- 9.target1上关闭步骤7创建的socket
- 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
- 11.target1上关闭所有创建的socket
- 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
- sub module: TCP
- summary: STA mode, connect test. use socket in state that can't connect
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0202
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- - - SSC SSC1 soc -D -s <sock2>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- - - SSC SSC1 soc -L -s 1000
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.ERROR
- 4.OK
- 5.OK
- 6.ERROR
- 7.OK
- 8.ERROR
- 9.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
- 3.target1上使用步骤2创建的socket,去建立TCP 监听
- 4.target1上创建TCP socket
- 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
- 6.target1上使用步骤4创建的socket,创建TCP 监听
- 7.target1上shutdown 步骤4的socket
- 8.target1上使用步骤4创建的socket,创建TCP 监听
- 9.target1上使用不存在socket,创建TCP 监听'
- sub module: TCP
- summary: STA mode, server listen test. use socket in state that can't listen
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0203
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1>
- - ['R SSC1 RE SEND:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock2>
- - ['R SSC1 RE SEND:\d+,ERROR']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -S -s <sock2>
- - ['R SSC1 RE SEND:\d+,ERROR']
- - - SSC SSC1 soc -S -s 1000
- - ['R SSC1 RE SEND:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.ERROR
- 4.OK
- 5.ERROR
- 6.OK
- 7.OK
- 8.ERROR
- 9.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建UDP传输socket1,<test_udp_port1>
- 3.target1上使用步骤2创建的socket1,去发送数据
- 4.target1上创建TCP socket2
- 5.target1上使用步骤4创建的socket2,去发送数据
- 6.target1上使用步骤4创建的socket2,创建TCP连接,连接成功
- 7.target1上shutdown 步骤4的socket2
- 8.target1往socket2发送错误命令发送数据
- 9.target1上不指定socket往上发送数据'
- sub module: TCP
- summary: send test. use socket in state that can't send
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0204
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -w 0
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SOC SOC2 SEND 146000
- - [P SOC_COM R *]
- - - SSC SSC1 soc -W -s <sock1> -o 1
- - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc server accept OK
- 4.OK
- 5.OK
- 6.OK
- 7.target收到146000 byte
- '
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
- 4.PC与target1 创建好TCP 连接,有ACCEPT
- 5.target上不进行recv
- 6.PC send 100 * 1460 data to target,
- 7.在target上开始recv'
- sub module: TCP
- summary: STA mode, recv buffer test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0206
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i <target_ip>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -i <target_ip>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock3>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>)',
- 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)',
- 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ip>,<random_port>,<pc_ip>)']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK
- 8.OK
- 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
- 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
- +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
- +SOCINFO:<sock3>,<random_port>
- +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
- +SOCINF0ALL'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
- \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
- sub module: TCP
- summary: STA mode, get active socket info test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0207
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h B
- - ['P SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -T
- - [R SSC1 C +CLOSEALL]
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.ok
- 2 OK
- 3.ERROR
- 4.OK
- 5.OK
- 6.ERROR
- 7.OK
- 8.OK
- 9.OK
- 10.OK
- 11.OK
- 12.ERROR'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
- 4.target1上创建TCP socket
- 5.target1上使用步骤4创建的socket,创建TCP 监听
- 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
- 7.target1上创建TCP socket
- 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
- 9.target1上关闭步骤7创建的socket
- 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
- 11.target1上关闭所有创建的socket
- 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
- sub module: TCP
- summary: AP mode, connect test. use socket in state that can't connect
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0208
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- - - SSC SSC1 soc -D -s <sock2>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- - - SSC SSC1 soc -L -s 1000
- - ['R SSC1 RE LISTEN:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.ERROR
- 4 OK
- 5.OK
- 6.ERROR
- 7.OK
- 8.ERROR
- 9.ERROR'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
- 3.target1上使用步骤2创建的socket,去建立TCP 监听
- 4.target1上创建TCP socket
- 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
- 6.target1上使用步骤4创建的socket,创建TCP 监听
- 7.target1上shutdown 步骤4的socket
- 8.target1上使用步骤4创建的socket,创建TCP 监听
- 9.target1上使用不存在socket,创建TCP 监听'
- sub module: TCP
- summary: AP mode, server listen test. use socket in state that can't listen
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0210
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -w 0
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SOC SOC2 SEND 146000
- - [P SOC_COM R *]
- - - SSC SSC1 soc -W -s <sock1> -o 1
- - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept成功
- 4.OK
- 6.OK
- 7.收到 146000 数据
- '
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
- 4.PC与target1 创建好TCP 连接,有ACCEPT
- 5.target停止调用recv
- 6.PC send 100 * 1460 data to 8266,
- 7.target重新调用recv'
- sub module: TCP
- summary: AP mode, recv buffer test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0212
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock3>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)',
- 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)',
- 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK,pc tcp server accept成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK
- 8.OK
- 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
- 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
- +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
- +SOCINFO:<sock3>,<random_port>
- +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
- +SOCINF0ALL'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
- \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
- sub module: TCP
- summary: AP mode, get active socket info test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0401
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 4.PC与target1创建好TCP 连接,有ACCEPT
- 5.断开与AP 连接
- 6.8266往PC上发送5字节数据'
- sub module: TCP
- summary: do TCP send after WIFI disconnected
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0402
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 4.PC与target1创建好TCP 连接,有ACCEPT
- 5.断开与AP 连接
- 6.关闭建立的socket1连接'
- sub module: TCP
- summary: "close TCP socket after WIFI \ndisconnected"
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0403
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
- \ \n6.8266往PC上发送5字节数据"
- sub module: TCP
- summary: do TCP send after mode changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0404
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
- \ \n6.关闭建立的socket1连接"
- sub module: TCP
- summary: close TCP socket after mode changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0405
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - NIC <pc_nic> DISABLED
- - [R PC_COM C OK]
- - - SSC SSC1 soc -S -s <sock1> -l 1
- - ['']
- - - DELAY 5400
- - ['P SSC1 RE CLOSED:\d+,0']
- comment: ''
- execution time: 1.5
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.TCP连接断开'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 4.PC与target1创建好TCP 连接,有ACCEPT
- 5.PC 网卡 disable
- 6.target1上使用socket1发送数据,等待 90 分钟'
- sub module: TCP
- summary: do TCP send after PC NIC disabled
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0406
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - NIC <pc_nic> DISABLED
- - [R PC_COM C OK]
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接"
- sub module: TCP
- summary: close TCP socket after PC NIC disabled
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0407
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK
- 8.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
- \ ip \n7.查询sta ip 地址是否生效\n8.8266往PC上发送5字节数据"
- sub module: TCP
- summary: do TCP send after IP changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0408
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK
- 8.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
- \ ip \n7.查询sta ip 地址是否生效\n8.关闭建立的socket1连接"
- sub module: TCP
- summary: close TCP socket after IP changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0411
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock2> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.ERROR
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 4.PC与target1创建好TCP 连接,有ACCEPT
- 5.target1上创建TCP socket2
- 6.8266往PC socket2上发送5字节数据
- 7.8266往PC socket1上发送5字节数据'
- sub module: TCP
- summary: do TCP send after socket changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_0412
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -T -s <sock2>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 4.PC与target1创建好TCP 连接,有ACCEPT
- 5.target1上创建TCP socket2
- 6.关闭socket1 连接
- 7.关闭socket2连接'
- sub module: TCP
- summary: close TCP send after socket changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_5001
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - TCPStress/TCPConnection
- - - max_connection = 5
- - [dummy]
- - - execute_time = 300
- - ['']
- - - connect_method = ["C_01", "C_02", "C_05", "C_07"]
- - ['']
- - - disconnect_method = ["D_01", "D_03", "D_05", "D_06"]
- - ['']
- - - pc_ip = "pc_ip"
- - ['']
- - - target_ip = "target_ip"
- - ['']
- comment: ''
- execution time: 5.0
- expected result: 1. succeed
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on
- level: Integration
- module: TCPIP
- steps: '1. random choose connect method to do connect, random choose a method to
- close
- Loop executing step 1'
- sub module: TCP
- summary: test possible TCP connect/disconnect method
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: function + stress
- test point 2: TCP connect and disconnect test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_5101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stable
- cmd set:
- - TCPStress/TCPAPNSTA
- - - send_len = 1460
- - [dummy]
- - - test_time = 720
- - ['']
- - - server_port = "<test_tcp_port1>"
- - ['']
- - - server_echo = True
- - ['']
- - - sta_number = 4
- - ['']
- - - send_delay = 50
- - ['']
- - - ap_ip = "<target_ap_ip>"
- - ['']
- comment: ''
- execution time: 12.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed
- 4. all TCP connection not disconnected'
- initial condition: None
- initial condition description (auto): none
- level: Integration
- module: TCPIP
- steps: '1. all sta connect to softap
- 2. create tcp server on softap
- 3. all sta connect to softap tcp server
- 4. do bi-direction send on all tcp connections'
- sub module: TCP
- summary: 1 AP 4 STA TCP stable test
- test environment: SSC_T5_1
- test environment description (auto): 5 SSC target connect with PC by UART.
- test point 1: stable
- test point 2: TCP stable test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_5102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stable
- cmd set:
- - TCPStress/TCPRandomSend
- - - delay_config = [0, 0.01, 0.1, 0.5, 1]
- - [dummy]
- - - send_count = 1000
- - ['']
- - - test_time = 300
- - ['']
- comment: ''
- execution time: 12.0
- expected result: '1. succeed
- 2. succeed'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on
- level: Integration
- module: TCPIP
- steps: '1. create TCP connection
- 2. PC send random length data to target'
- sub module: TCP
- summary: send random length segment to target
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: stable
- test point 2: TCP stable test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_5103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stable
- cmd set:
- - TCPStress/TCPSoftAPSTASendRecv
- - - send_len = 1460
- - [dummy]
- - - test_time = 720
- - ['']
- - - server_port = "<test_tcp_port1>"
- - ['']
- - - server_port_2 = "<test_tcp_port2>"
- - ['']
- - - server_echo = True
- - ['']
- - - sta_number = 3
- - ['']
- - - send_delay = 50
- - ['']
- - - ap_ip = "<target_ap_ip>"
- - ['']
- comment: ''
- execution time: 12.0
- expected result: '1. succeed
- 2. verify reciveid data on target and PC succeed'
- initial condition: None
- initial condition description (auto): none
- level: Integration
- module: TCPIP
- steps: '1. create TCP connection
- 2. send specified pattern on both direction'
- sub module: TCP
- summary: TCP SoftSTA send/recv stress test
- test environment: SSC_T5_1
- test environment description (auto): 5 SSC target connect with PC by UART.
- test point 1: stable
- test point 2: TCP stable test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_5201
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - TCPStress/TCPSendRecv
- - - send_len = 1460
- - [dummy]
- - - test_time = 300
- - ['']
- - - duplex = True
- - ['']
- - - conn_num = 5
- - ['']
- - - send_delay = 20
- - ['']
- comment: ''
- execution time: 12.0
- expected result: '1. succeed
- 2. succeed
- 3. all TCP connection not disconnected'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA
- level: Integration
- module: TCPIP
- steps: '1. sta connect to softap
- 2. create multiple tcp connection
- 3. do send/recv on all tcp connections'
- sub module: TCP
- summary: TCP send/recv stress test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: stress
- test point 2: TCP stress test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: TCPIP_TCP_5202
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - TCPStress/TCPDataValidation
- - - test_time = 1440
- - [dummy]
- - - tx_enable = True
- - ['']
- - - rx_enable = True
- - ['']
- - - conn_num = 1
- - ['']
- - - send_len = 1024
- - ['']
- comment: ''
- execution time: 24.0
- expected result: '1. succeed
- 2. verify reciveid data on target and PC succeed'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on
- level: Integration
- module: TCPIP
- steps: '1. create TCP connection
- 2. send specified pattern on both direction'
- sub module: TCP
- summary: TCP send/recv data validation
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: stress
- test point 2: TCP stress test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 C BIND:ERROR']
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.ERROR
- 4.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上创建TCP socket3, target_udp_port1'
- sub module: UDP
- summary: STA mode, udp bind test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 10]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
- - ['P SSC1 RE SEND:(\d+),OK', P SOC2 UL 10]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
- 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
- sub module: UDP
- summary: STA mode, sendto test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
- - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没有到UDP包
- 6.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
- sub module: UDP
- summary: STA mode, sendto test with different length
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0104
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
- - [R SSC1 SL <sock1>+1]
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)']
- - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
- - [P SSC1 NC +RECVFROM, P SOC_COM C OK]
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - [R SOC_COM L OK]
- - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没收到UDP包
- 6.OK
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.PC往8266上发送1字节数据
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1473字节数据
- 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 7.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: STA mode, recvfrom basic test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0105
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.关闭socket1'
- sub module: UDP
- summary: STA mode, close UDP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0106
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
- - ['R SSC1 RE BIND:(\d+),OK']
- comment: ''
- execution time: 0.0
- expected result: '1.ok
- 2.ok
- 3.ok
- 4.ok
- 5.ok'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
- 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
- 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
- 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
- sub module: UDP
- summary: STA mode, create max udp socket test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0107
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上查询创建socket信息'
- sub module: UDP
- summary: STA mode, get active socket info test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0108
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 C BIND:ERROR']
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.ERROR
- 4.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上创建TCP socket3, target_udp_port1'
- sub module: UDP
- summary: AP mode, udp bind test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0109
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC2 ip
- - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC2 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock2> -i <pc_ip_wifi> -p <test_udp_port1> -l 5
- - [R SOC1 UL 5]
- - - SSC SSC1 soc -S -s <sock2> -i <ssc2_ip> -p <test_udp_port2> -l 5
- - ['R SSC2 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock1>,<target_ap_ip>,<test_udp_port1>)']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
- 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
- sub module: UDP
- summary: AP mode, sendto test. use different ip, port
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0110
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
- - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
- -j 20
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没收到UDP包
- 6.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
- sub module: UDP
- summary: AP mode, sendto test with different length
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0111
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC2 ip
- - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC2 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SOC SOC1 SENDTO 5 <test_udp_port1> <target_ap_ip>
- - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<pc_ip_wifi>,<test_udp_port1>)']
- - - SSC SSC2 soc -S -s <sock1> -i <target_ap_ip> -p <test_udp_port1> -l 5
- - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<ssc2_ip>,<test_udp_port2>)']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK,没收到UDP包
- 6.OK
- 7.OK'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.PC往8266上发送1字节数据
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1473字节数据
- 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 7.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: AP mode, recvfrom basic test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0112
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.关闭socket1'
- sub module: UDP
- summary: AP mode, close UDP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0113
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
- - ['R SSC1 RE BIND:(\d+),OK']
- comment: ''
- execution time: 0.0
- expected result: '1.ok
- 2.ok
- 3.ok
- 4.ok
- 5.ok'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
- 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
- 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
- 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
- sub module: UDP
- summary: AP mode, create max udp socket test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0114
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上查询创建socket信息'
- sub module: UDP
- summary: AP mode, get active socket info test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0201
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1> -w 0
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.PC OK
- 5.PC OK
- 6.PC OK
- 7.PC OK
- 8.PC OK SOC_CLOSE=SOC1'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上关闭工作线程
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1472字节数据
- 6.PC往8266上发送1472字节数据
- 7.PC往8266上发送1472字节数据
- 8.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: STA mode, recv buffer test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: use UDP SAP (socket/espconn API) in different state
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0202
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.PC OK
- 5.PC OK
- 6.PC OK
- 7.PC OK
- 8.PC OK SOC_CLOSE=SOC1'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上关闭工作线程
- 4.PC往8266上发送1472字节数据
- 5.PC往8266上发送1472字节数据
- 6.PC往8266上发送1472字节数据
- 7.PC往8266上发送1472字节数据
- 8.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: AP mode, recv buffer test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: use UDP SAP (socket/espconn API) in different state
- version: v2 (2016-10-19)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0301
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -i <target_ip> -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
- 4.断开与AP 连接
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据'
- sub module: UDP
- summary: do UDP send after WIFI disconnected
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0302
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK
- '
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
- 4.断开与AP 连接
- 5.关闭建立的socket1连接'
- sub module: UDP
- summary: "close UDP socket after WIFI \ndisconnected"
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0303
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.修改8266的Mode为softAP mode \n5.8266往PC上发送5字节数据"
- sub module: UDP
- summary: do UDP send after mode changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0304
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.修改8266的Mode为softAP mode \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after mode changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0305
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - NIC <pc_nic> DISABLED
- - [R PC_COM C OK]
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK
- 4.OK
- 5.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.PC上网卡禁止掉 \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after PC NIC disabled
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0306
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
- sub module: UDP
- summary: do UDP send after IP changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_0307
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: 1/5
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.OK
- 3.OK; PC TCP server accept 成功
- 4.OK
- 5.OK
- 6.OK
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after IP changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_UDP_5001
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - UDPStress/UDPSendRecv
- - - send_len = 1460
- - [dummy]
- - - test_time = 300
- - ['']
- - - duplex = True
- - ['']
- - - conn_num = 5
- - ['']
- - - send_delay = 20
- - ['']
- comment: ''
- execution time: 12.0
- expected result: '1. succeed
- 2. succeed
- 3. succeed'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA
- level: Integration
- module: TCPIP
- steps: '1. sta connect to softap
- 2. create multiple udp
- 3. do send/recv on all udp'
- sub module: UDP
- summary: UDP send/recv stress test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: stress
- test point 2: UDP stress test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: WIFI_ADDR_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 op -S -o 3
- - ['R SSC1 C +MODE:OK']
- - - SSC SSC1 mac -S -o 1 -m 44:55:66:77:88:99
- - ['R SSC1 C +MAC:STA,OK']
- - - SSC SSC1 mac -S -o 2 -m 22:33:44:55:66:77
- - ['R SSC1 C +MAC:AP,OK']
- - - SSC SSC1 mac -Q -o 3
- - ['R SSC1 C +STAMAC:44:55:66:77:88:99 C +APMAC:22:33:44:55:66:77']
- - - SSC SSC1 mac -S -o 1 -m <target_mac>
- - ['R SSC1 C +MAC:STA,OK']
- - - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
- - ['R SSC1 C +MAC:AP,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.ok
- 3.ok
- 4.ok
- 5.ok
- 6.ok'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: "1.target1 设置mode 为sta+softAP mode\n2.target1 设置sta mode 下的mac \n3.target1\
- \ 设置softAP mode 下的mac\n4.target1 查询softAP+sta 下的mac\n5.target1 设置sta mode 下的mac\
- \ 为target1_mac\n6.target1 设置softAP mode 下的mac 为target1_ap_mac\n"
- sub module: MAC Address
- summary: set mac, query mac
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: mac address function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_ADDR_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 mac -S -o 2 -m 44:55:66:77:88:99
- - ['R SSC1 C +MAC:AP,OK']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['']
- - - SSC SSC2 sta -S -b 44:55:66:77:88:99
- - ['R SSC2 RE \+SCAN:.+,44:55:66:77:88:99,']
- - - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
- - ['R SSC1 C +MAC:AP,OK']
- - - SSC SSC2 mac -Q -o 1
- - ['R SSC2 A <target2_mac_tmp>:\+STAMAC:(.+)\r\n']
- - - SSC SSC2 mac -S -o 1 -m 22:33:44:55:66:77
- - ['R SSC2 C +MAC:STA,OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['P SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -L
- - ['R SSC1 C +LSTA:22:33:44:55:66:77']
- - - SSC SSC2 mac -S -o 1 -m <target2_mac>
- - ['R SSC2 C +MAC:STA,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
- 2.ok
- 3.ok
- 4.ok
- 5.ok
- 6.ok
- 7.ok
- 8.ok
- 9.ok'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n\
- 3.target2 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n\
- 5.target2 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n\
- 7.target2 jap target1\n8.target1 查询连接到的sta \n9.target2 设置sta mode 下的mac 为 target2_mac\n"
- sub module: MAC Address
- summary: set mac and do scan/JAP/SAP
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: mac address function test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -t 0
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 2
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 1
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S
- - ['R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>)']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 5
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S
- - ['R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>)']
- comment: ''
- execution time: 0.0
- expected result: "1.target1 set AP,open, \n2.target 2 jap succeed\n3.target1 set\
- \ AP,wpa_psk \n4.target 2 jap succeed\n5.target1 set AP, wpa2_psk \n6.target 2\
- \ jap succeed\n7.target1 set AP,wap_wpa2_psk\n8.target 2 jap succeed\n9.target1\
- \ set AP,加密方式为t 1\n10.target 2 上查询到target_ssid\n11.target1 set AP,加密方式为t 5\n12.target\
- \ 2 上查询到target_ssid"
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: "1.target1下设置ssid 和pwd,加密方式 open\n2.target2 jap target1\n3.target1下设置ssid\
- \ 和pwd,加密方式 wpa_psk \n4.target2 jap target1\n5.target1下设置ssid 和pwd,加密方式 wpa2_psk\
- \ \n6.target 2 jap target1\n7.target1下设置ssid 和pwd,加密方式 wap_wpa2_psk\n8.target2\
- \ jap target1\n9.target1下设置ssid 和pwd,加密方式 wep \n10.target2上查询target_ssid\n11.target1下设置ssid\
- \ 和pwd,加密方式 t 5 错误的加密方式\n12.target2上查询 target_ssid"
- sub module: WIFI Connect
- summary: station SAP+JAP test, different encryption
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: SAP/JAP with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 1
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 13
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 ap -S -s <target_ssid> -n 15
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC2 sta -S
- - ['R SSC2 RE "\+SCAN:%%s,.+,\d+,1"%%(<target_ssid>)']
- comment: ''
- execution time: 0.0
- expected result: '1. target1 set AP,set channel 1
- 2.target 2 jap succeed
- 3.target1 set AP,set channel 10
- 4.target 2 jap succeed
- 5.target1 set AP,set channel 15
- 6.target 2 上查询到target_ssid'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1. target1下设置ssid 和pwd 加密方式,set channel 1
- 2.target2 jap target 1
- 3.target1下设置ssid 和pwd 加密方式,set channel 10
- 4.target2 jap target 1
- 5.target1下设置ssid 和pwd 加密方式,set channel 15
- 6.target 2 上查询target_ssid'
- sub module: WIFI Connect
- summary: station SAP+JAP test, different channel
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: SAP/JAP with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
- 0
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 P <target_ap_mac>, R SSC2 C +SCANDONE]
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
- 1
- - ['R SSC1 C +SAP:OK']
- - - DELAY 3
- - ['']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 C +SCANDONE]
- - - DELAY 3
- - ['']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 NP <target_ap_mac> C +SCANDONE]
- comment: ''
- execution time: 0.0
- expected result: '1.target1 set AP,set ssid broad cast
- 2.target 2上scan target_ap_mac
- 3.target1 set AP,set ssid hidden,
- 4.target 2上不能scan target_ap_mac'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1. target1下设置ssid 和pwd 加密方式,set ssid broad cast
- 2.target 2上scan target_ap_mac
- 3. target1下设置ssid 和pwd 加密方式,set ssid hidden,
- 4.target 2上scan target_ap_mac'
- sub module: WIFI Connect
- summary: station SAP+JAP test, ssid hidden
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: SAP/JAP with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0104
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -m
- 1
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> DISCONN
- - ['R PC_COM C +WIFIDISCONN:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM C +WIFICONN:ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1. target1 set AP,set max allowed sta as 1
- 2. use PC disconnect,
- 3.target 2 jap succeed
- 4.PC WIFI can not CONN'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式,set max allowed sta as 1
- 2.use PC disconnect target1
- 3.target 2 jap target1
- 4.PC WIFI CONNECT target1'
- sub module: WIFI Connect
- summary: station SAP test, max allowed sta
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: SAP/JAP with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0201
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC1 sta -Q
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:OK']
- - - SSC SSC1 sta -Q
- - ['R SSC1 C +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '1.target1 jion AP 成功
- 2.查询JAP的状态
- 3.target1 断开AP
- 4.查询target1 JAP 是DISCONN'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: WIFI MAC
- steps: '1.target1 jion AP 成功
- 2.查询JAP的状态
- 3.target1 断开AP
- 4.查询target1 JAP 是DISCONN'
- sub module: WIFI Connect
- summary: JAP query test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: query JAP status
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0301
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
- 0 -m 8
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 ap -Q
- - ['R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,3,0,8,\d+"%%(<target_ssid>,<target_password>)']
- comment: ''
- execution time: 0.0
- expected result: '1. target1 set AP
- 2.target 1上查询到跟设置AP时一致
- '
- initial condition: APM1
- initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
- condition APSTA1
- level: Integration
- module: WIFI MAC
- steps: '1. target1 set AP
- 2.target 1上查询到跟设置AP时一致
- '
- sub module: WIFI Connect
- summary: AP config query test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: query AP config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0401
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -R -a 0
- - ['R SSC1 C +AUTORECONN:OK']
- - - SSC SSC1 sta -R -a 2
- - ['R SSC1 C +AUTORECONN:0']
- - - SSC SSC1 reboot
- - ['']
- - - DELAY 15
- - ['']
- - - SSC SSC1 sta -Q
- - ['R SSC1 C JAP:DISCONNECTED']
- - - SSC SSC1 sta -R -a 1
- - ['R SSC1 C +AUTORECONN:OK']
- - - SSC SSC1 sta -R -a 2
- - ['R SSC1 C +AUTORECONN:1']
- - - SSC SSC1 reboot
- - ['R SSC1 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '1.设置autoreconn,关闭
- 2.查询当前autoreconn状态是否关闭
- 3.重启系统,等待15s
- 4.查询target1 未自动重连AP
- 5.设置autoreconn,开启
- 6.查询当前autoreconn状态是否开启
- 7.系统重启后target1 自动重连AP'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- level: Integration
- module: WIFI MAC
- steps: '1.设置autoreconn,关闭
- 2.查询当前autoreconn状态是否关闭
- 3.重启系统,等待15s
- 4.查询target1 未自动重连AP
- 5.设置autoreconn,开启
- 6.查询当前autoreconn状态是否开启
- 7.系统重启后target1 自动重连AP'
- sub module: WIFI Connect
- summary: auto reconnect test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: power on auto reconnect test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0501
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC2 sta -R -r 1
- - ['R SSC2 C +RECONN:OK']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - DELAY 10
- - ['']
- - - SSC SSC1 op -S -o 2
- - ['R SSC1 C +MODE:OK']
- - - DELAY 15
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 sta -R -r 0
- - ['R SSC2 C +RECONN:OK']
- - - SSC SSC2 sta -R -r 2
- - ['R SSC2 C +RECONN:0']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - DELAY 10
- - ['']
- - - SSC SSC1 op -S -o 2
- - ['R SSC1 C +MODE:OK']
- - - DELAY 15
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
- - - SSC SSC2 sta -R -r 1
- - ['R SSC2 C +RECONN:OK']
- comment: ''
- execution time: 0.0
- expected result: '1.设置reconn,开启(此功能不需要重启系统)
- 2.target1 set AP
- 3.target2 JAP target1 成功
- 4.target2 断开target1 连接
- 5.等待10s,target2 自动重连target1
- 6.成功
- 7.查询reconn状态,关闭
- 8.修改mode 成功
- 9.等待15s,target2 不会自动重连target1'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: "1.设置reconn,开启(此功能不需要重启系统)\n2.target1下设置ssid 和pwd 加密方式\n3.target2 JAP target1\
- \ \n4.target1 修改mode 为sta mode\n5.等待10s,target1 修改mode 为softAP mode\n6.设置reconn,关闭\n\
- 7.查询reconn状态,关闭\n8.target1 修改mode 为sta mode\n9.等待15s,target1 修改mode 为softAP mode"
- sub module: WIFI Connect
- summary: reconnect policy test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: reconnect policy test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0502
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 sta -R -r 1
- - ['R SSC2 C +RECONN:OK']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - DELAY 5
- - ['R SSC2 C +JAP:DISCONNECTED']
- - - SSC SSC1 op -S -o 2
- - ['R SSC1 C +MODE:OK']
- - - DELAY 10
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - DELAY 10
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '1.target1 set AP
- 2.target2 jap target 1
- 3.设置reconn,开启(此功能不需要重启系统)
- 4.target2 断开target1 连接
- 5.等待10s,target2 自动重连target1
- 6.target2 断开target1 连接'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式
- 2.target2 jap target 1
- 3.设置reconn,开启(此功能不需要重启系统)
- 4.target2 断开target1 连接
- 5.等待10s,target2 自动重连target1
- 6.target2 断开target1 连接'
- sub module: WIFI Connect
- summary: will not do reconnect after manually disconnected
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: reconnect policy test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0601
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -L
- - ['R SSC1 C +LSTA:', 'R SSC1 C +LSTA:', R SSC1 C +LSTADONE]
- comment: ''
- execution time: 0.0
- expected result: '1.target1 set AP
- 2.PC WIFI CONNECTED
- 3.target2 jap target 1
- 4.查询到两个sta 连接到target1 上'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1. target1下设置ssid 和pwd 加密方式
- 2.PC WIFI CONNECTED target1
- 3.target2 jap target 1
- 4.查询到两个sta 连接到target1 上'
- sub module: WIFI Connect
- summary: list stations connected to soft ap test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: list SoftAP connected station
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0801
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 2
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,2,0']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,3,2']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,4,3']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,0,4']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. succeed
- 3. auth change event old mode 0 new mode 2
- 4. auth change event old mode 2 new mode 3
- 5. auth change event old mode 3 new mode 4
- 6. auth change event old mode 4 new mode 0'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1. set target1 softap auth mode 0
- 2. target2 connect to target1
- 3. set target1 softap auth mode 2, wait sta connected
- 4. set target1 softap auth mode 3, wait sta connected
- 5. set target1 softap auth mode 4, wait sta connected
- 6. set target1 softap auth mode 0, wait sta connected'
- sub module: WIFI Connect
- summary: test auth change event
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi auth changed event test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0901
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: basic function
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 sta -D
- - ['R SSC1 RE JAP:DISCONNECTED,\d+,8']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
- - ['R SSC1 RE JAP:DISCONNECTED,\d+,15']
- - - SSC SSC1 sta -C -s <random_string> -p <ap_password>
- - ['R SSC1 RE JAP:DISCONNECTED,\d+,201']
- comment: ''
- execution time: 0.0
- expected result: '1. disconnect event reason REASON_ASSOC_LEAVE
- 2. disconnect event reason REASON_4WAY_HANDSHAKE_TIMEOUT
- 3. disconnect event reason REASON_NO_AP_FOUND'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: WIFI MAC
- steps: '1. sta connect to AP, and disconnect
- 2. connect to AP with wrong password
- 3. connect to AP not exist'
- sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_4WAY_HANDSHAKE_TIMEOUT,
- REASON_NO_AP_FOUND
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi disconnect reason test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0902
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - APC <APC1> OFF <ap_apc>
- - [P PC_COM L OK, 'R SSC1 RE JAP:DISCONNECTED,\d+,200']
- - - APC <APC1> ON <ap_apc>
- - [P PC_COM L OK]
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. disconnect event REASON_BEACON_TIMEOUT'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: WIFI MAC
- steps: '1. connect to AP
- 2. AP power off'
- sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_BEACON_TIMEOUT
- test environment: SSC_T1_APC
- test environment description (auto): "PC has 1 wired NIC connected to AP.\nPC has\
- \ 1 wired NIC connected to APC (static IP within the same subnet with APC). \n\
- APC control AP power supply. \nPC has 1 WiFi NIC. \n1 SSC target connect with\
- \ PC by UART."
- test point 1: basic function
- test point 2: wifi disconnect reason test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_0904
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p 1234567890
- - ['R SSC2 RE JAP:DISCONNECTED,\d+,204']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> <pc_ip_wifi>
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 RE JAP:DISCONNECTED,\d+,5']
- - - WIFI <pc_wifi_nic> DISCONN
- - [P PC_COM C OK, 'R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
- - ['P SSC1 C +SAP:OK', 'P SSC2 RE JAP:DISCONNECTED,\d+,4']
- comment: ''
- execution time: 0.0
- expected result: '1. succeed
- 2. disconnect event REASON_HANDSHAKE_TIMEOUT
- 3. succeed
- 4. succeed
- 5. disconnect event REASON_ASSOC_TOOMANY
- 6. succeed, target2 connect succeed
- 7. disconnect event REASON_ASSOC_EXPIRE'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1. config target1 softap max sta allowed 1
- 2. target2 connect to target1 with wrong password
- 3. target2 disconnect
- 4. PC WIFI NIC connect to target1
- 5. target2 connect to target1 with correct password
- 6. PC WIFI NIC disconnect
- 7. reconfig softap'
- sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT,
- REASON_ASSOC_EXPIRE
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi disconnect reason test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_CONN_5101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Stress
- cmd set:
- - WiFiStress/SoftAPNSTA
- - - sta_num = 4
- - [dummy]
- - - max_sta = 4
- - ['']
- - - test_time = 300
- - ['']
- - - delay1 = [0, 1]
- - ['']
- - - delay2 = [0, 1]
- - ['']
- - - change_mac = True
- - ['']
- - - channel = 1
- - ['']
- comment: ''
- execution time: 5.0
- expected result: '1. succeed
- 2. JAP succeed'
- initial condition: None
- initial condition description (auto): none
- level: Integration
- module: WIFI MAC
- steps: '1. 1 target set to softap mode and rest set to sta mode
- 2. all sta random join and disconnect from softap
- Loop step 2'
- sub module: WIFI Connect
- summary: max sta connect to SotfAP and disconnect
- test environment: SSC_T5_1
- test environment description (auto): 5 SSC target connect with PC by UART.
- test point 1: stress
- test point 2: SoftAP WIFI connect/disconnect stress test
- version: v2 (2016-11-15)
- - CI ready: 'Yes'
- ID: WIFI_MODE_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - SSC SSC1 dhcp -S -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC2 sta -S
- - [R SSC2 NP <target_ssid> C +SCANDONE]
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:OK']
- comment: ''
- execution time: 0.0
- expected result: '1.target1下设置ssid 和pwd 、加密方式成功
- 2.修改target 1的mode 为sta mode
- 3.target1的dhcp打开
- 4.target1成功连接上AP
- 5.target2上不能查询到target_ssid
- 6.target1断开AP'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式
- 2.修改target1的mode 为sta mode
- 3.target1的dhcp打开
- 4.target1连接AP
- 5.target2查询target_ssid
- 6.target1断开AP'
- sub module: WIFI Mode
- summary: mode switch test (sta mode)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi mode fucntion
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_MODE_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S
- - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:ERROR']
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:ERROR']
- comment: ''
- execution time: 0.0
- expected result: '1. target1 set AP
- 2.target 2 上查询到target_ssid
- 3. target1 can''t join AP
- 4. target1 can''t QAP'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式
- 2.target 2 上查询target_ssid
- 3.target1 join AP
- 4.target1 DISCONN AP'
- sub module: WIFI Mode
- summary: mode switch test (AP mode)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi mode fucntion
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_MODE_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 op -S -o 3
- - ['R SSC1 C +MODE:OK']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -S -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC2 sta -S
- - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
- comment: ''
- execution time: 0.0
- expected result: '1.target1 change to AP mode
- 2.target1 set AP
- 3.target 1 的dhcp 打开
- 4.target 1 成功连接上AP
- 5.target 2 上查询到target_ssid'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1 change to AP mode
- 2.target1下设置ssid 和pwd 加密方式
- 3.target1 的dhcp 打开
- 4.target1 连接AP
- 5.target2 上查询target_ssid'
- sub module: WIFI Mode
- summary: mode switch test (STA+AP mode)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi mode fucntion
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0401
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 20
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 10
- - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, both bandwidth 20M, STA not disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht20, in channel2
- 2. STA connect to ext AP
- 3. AP get connected'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, both bandwidth 20M, STA connect to
- AP then Softap get connected
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0402
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 20
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['P SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, both bandwidth 20M, SoftAP not get
- disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht20, in channel2
- 2. AP get connected
- 3. STA connect to ext AP'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, both bandwidth 20M, Softap get connected
- than STA connect to AP
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0403
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 20
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 10
- - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, SoftAP 20M, STA 40M, STA not disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht40, in channel2
- 2. STA connect to ext AP
- 3. AP get connected'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, SoftAP 20M, ext AP 40M, STA connect
- to AP then Softap get connected
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0404
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 20
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['P SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, SoftAP 20M, STA 40M, SoftAP not
- get disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht40, in channel2
- 2. AP get connected
- 3. STA connect to ext AP'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, SoftAP 20M, ext AP 40M, Softap get
- connected than STA connect to AP
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0405
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 40
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 10
- - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, both bandwidth 40M, STA not disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht40, in channel2
- 2. STA connect to ext AP
- 3. AP get connected'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, both bandwidth 40M, STA connect to
- AP then Softap get connected
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0406
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 40
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['P SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, both bandwidth 40M, SoftAP not get
- disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht40, in channel2
- 2. AP get connected
- 3. STA connect to ext AP'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, both bandwidth 40M, Softap get connected
- than STA connect to AP
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0407
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 40
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 10
- - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, SoftAP 40M, STA 20M, STA not disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht20, in channel2
- 2. STA connect to ext AP
- 3. AP get connected'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, SoftAP 40M, ext AP 20M, STA connect
- to AP then Softap get connected
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0408
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 phy -S -o 1 -m n -b 40
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['P SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 3. SoftAP and STA in channel2, SoftAP 40M, STA 20M, SoftAP not
- get disconnected
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht20, in channel2
- 2. AP get connected
- 3. STA connect to ext AP'
- sub module: Phy Mode
- summary: SoftAP ext AP in defferent channel, SoftAP 40M, ext AP 20M, Softap get
- connected than STA connect to AP
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP initial channel test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0501
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC3 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
- channel2 20M
- initial condition: T3_PHY1
- initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
- target 3 set to STA mode
- 2. all interface of target 2,3 set to 11n ht40
- 3. config softAP of target 1 and target 2'
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 STA and SoftAP set to 20M
- 2. target 2 STA connect to ap_channel1_20
- 3. target 1/3 STA connect to target 2/1 SoftAP
- 4. target 2 STA connect to ap_channel2_20'
- sub module: Phy Mode
- summary: SoftAP STA in channel1 20M, STA changed to channel2 20M
- test environment: SSC_T3_PhyMode
- test environment description (auto): '3 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP dynamic channel switch test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0502
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC3 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <ap_ssid_c2_ht40> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
- channel2; SoftAP in 20M, STA in 40M
- initial condition: T3_PHY1
- initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
- target 3 set to STA mode
- 2. all interface of target 2,3 set to 11n ht40
- 3. config softAP of target 1 and target 2'
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 STA set to 40M, SoftAP set to 20M
- 2. target 2 STA connect to ap_channel1_20
- 3. target 1/3 STA connect to target 2/1 SoftAP
- 4. target 2 STA connect to ap_channel2_40'
- sub module: Phy Mode
- summary: SoftAP STA in channel1 20M, STA changed to channel2 40M
- test environment: SSC_T3_PhyMode
- test environment description (auto): '3 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP dynamic channel switch test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0503
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC3 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
- channel2 20M
- initial condition: T3_PHY1
- initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
- target 3 set to STA mode
- 2. all interface of target 2,3 set to 11n ht40
- 3. config softAP of target 1 and target 2'
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 STA set to 40M, SoftAP set to 20M
- 2. target 2 STA connect to ap_channel1_40
- 3. target 1/3 STA connect to target 2/1 SoftAP
- 4. target 2 STA connect to ap_channel2_20'
- sub module: Phy Mode
- summary: SoftAP STA in channel1, SoftAP 20M, STA 40M, STA changed to channel2 20M
- test environment: SSC_T3_PhyMode
- test environment description (auto): '3 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP dynamic channel switch test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0504
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC3 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
- channel2 20M
- initial condition: T3_PHY1
- initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
- target 3 set to STA mode
- 2. all interface of target 2,3 set to 11n ht40
- 3. config softAP of target 1 and target 2'
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 STA and SoftAP set to 40M
- 2. target 2 STA connect to ap_channel1_40
- 3. target 1/3 STA connect to target 2/1 SoftAP
- 4. target 2 STA connect to ap_channel2_20'
- sub module: Phy Mode
- summary: SoftAP STA in channel1, SoftAP 20M, STA 40M, STA changed to channel2 40M
- test environment: SSC_T3_PhyMode
- test environment description (auto): '3 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP dynamic channel switch test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0505
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC3 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
- channel2; SoftAP in 20M, STA in 40M
- initial condition: T3_PHY1
- initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
- target 3 set to STA mode
- 2. all interface of target 2,3 set to 11n ht40
- 3. config softAP of target 1 and target 2'
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 STA set to 40M ,SoftAP set to 20M
- 2. target 2 STA connect to ap_channel1_40
- 3. target 1/3 STA connect to target 2/1 SoftAP
- 4. target 2 STA connect to ap_channel2_20'
- sub module: Phy Mode
- summary: SoftAP STA in channel1, SoftAP 40M, STA 40M, STA changed to channel2 20M
- test environment: SSC_T3_PhyMode
- test environment description (auto): '3 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP dynamic channel switch test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_PHY_0506
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 phy -S -o 2 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC3 C +JAP:CONNECTED']
- - - SSC SSC2 sta -C -s <ap_ssid_c2_ht40> -p <ap_password_phy>
- - ['']
- - - DELAY 10
- - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
- comment: ''
- execution time: 0.0
- expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
- channel2 40M
- initial condition: T3_PHY1
- initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
- target 3 set to STA mode
- 2. all interface of target 2,3 set to 11n ht40
- 3. config softAP of target 1 and target 2'
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 STA and SoftAP set to 40M
- 2. target 2 STA connect to ap_channel1_40
- 3. target 1/3 STA connect to target 2/1 SoftAP
- 4. target 2 STA connect to ap_channel2_40'
- sub module: Phy Mode
- summary: SoftAP STA in channel1, SoftAP 40M, STA 40M, STA changed to channel2 40M
- test environment: SSC_T3_PhyMode
- test environment description (auto): '3 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: STA+SoftAP dynamic channel switch test
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0101
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC2 sta -S -s .,juhg123
- - ['R SSC2 NC +SCAN: C +SCANDONE']
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -s <target_tmp_ssid>
- - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>, 'R SSC2 NC +SCAN: C +SCANDONE']
- comment: ''
- execution time: 0.0
- expected result: '1.target 2上不能scan .,juhg123
- 2.target1 set AP
- 3.target2上查询到<target_tmp_ssid>'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target 2 scan .,juhg123
- 2.target1下设置ssid 和pwd 加密方式
- 3.target2 scan <target_tmp_ssid>'
- sub module: WIFI Scan
- summary: scan with scan config ssid
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: scan with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0102
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC2 sta -S -b ff:ff:ff:ff:ff:11
- - ['R SSC2 NC +SCAN: C +SCANDONE']
- - - SSC SSC2 sta -S -b <target_ap_mac>
- - ['R SSC2 RE "\+SCAN:.+,%%s"%%(<target_ap_mac>)', 'R SSC2 NC +SCAN: C +SCANDONE']
- comment: ''
- execution time: 0.0
- expected result: '1.target2 上不能查询到此mac
- 2.target2上查询到<target_ap_mac>'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target2 上查询此macff:ff:ff:ff:ff:11
- 2.target2上查询<target_ap_mac>'
- sub module: WIFI Scan
- summary: scan with scan config bssid
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: scan with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0103
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:']
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -n 6
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -n 5
- - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -n 6
- - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>]
- comment: ''
- execution time: 0.0
- expected result: '1.target1 QAP
- 2. target1 set AP,set channel 6
- 3.target2 上scan不到 channel 5
- 4.target2 上查询channel 6的<target_tmp_ssid>'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1 断开连接AP
- 2.target1下设置ssid 和pwd 加密方式,set channel 6
- 3.target2 上scan channel 5
- 4.target2 上查询channel 6的<target_tmp_ssid>'
- sub module: WIFI Scan
- summary: scan with scan config channel
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: scan with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0104
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -h 1
- - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -h 1
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -h 1
- - [R SSC2 P <target_ap_mac> C +SCANDONE]
- comment: ''
- execution time: 0.0
- expected result: '1.target1 set AP,set ssid broad cast
- 2.target 2上scan <target_tmp_ssid>
- 3.target 2上scan <target_tmp_ssid>
- 4.target1 set AP,set ssid hidden,
- 5.target 2上不能查询到 <target_tmp_ssid>
- 6.target 2上查询到<target_ap_mac>'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式,set ssid broad cast
- 2.target 2上scan <target_tmp_ssid>
- 3.target 2上scan <target_tmp_ssid>
- 4.target1下设置ssid 和pwd 加密方式,set ssid hidden,
- 5.target 2上查询 <target_tmp_ssid>
- 6.target 2上查询<target_ap_mac>'
- sub module: WIFI Scan
- summary: scan with scan config show hidden
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: scan with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0105
- SDK: '8266_NonOS
- 8266_RTOS
- ESP32_IDF'
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:']
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0 -n 11
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 11
- - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -s <target_ssid> -b <target_ap_mac> -n 11
- - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -s <target_tmp_ssid> -b ff:ff:ff:ff:ff:11 -n 11
- - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 10
- - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- comment: ''
- execution time: 0.0
- expected result: '1.target1 QAP
- 2. target1 set AP,set ssid broad cast,set channel 11
- 3.target2 上查询到<target_tmp_ssid>
- 4.target2 上查询不到<target_tmp_ssid>
- 5.target2 上查询不到<target_tmp_ssid>
- 6.target2 上查询不到<target_tmp_ssid>'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- level: Integration
- module: WIFI MAC
- steps: '1.target1 QAP
- 2. target1 set AP,set ssid broad cast,set channel 11
- 3.target2 上查询到<target_tmp_ssid>
- 4.target2 上查询不到<target_tmp_ssid>
- 5.target2 上查询不到<target_tmp_ssid>
- 6.target2 上查询不到<target_tmp_ssid>'
- sub module: WIFI Scan
- summary: scan with several configs
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: scan with different config
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0201
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 phy -S -o 1 -m b
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 sta -S
- - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
- - - SSC SSC1 phy -S -o 1 -m g
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 sta -S
- - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
- - - SSC SSC1 phy -S -o 1 -m n -b 20
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 sta -S
- - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
- - - SSC SSC1 phy -S -o 1 -m n -b 40
- - ['R SSC1 C +PHY:OK']
- - - SSC SSC1 sta -S
- - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
- comment: ''
- execution time: 0.0
- expected result: '3. find all 3 ext APs
- 5. find all 3 ext APs
- 7. find all 3 ext APs
- 9. find all 3 ext APs'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: WIFI MAC
- steps: '1. 3 ext APs in 11b, 11g, 11n mode
- 2. STA in 11b mode
- 3. do all channel scan
- 4. STA in 11g mode
- 5. do all channel scan
- 6. STA in 11n ht20 mode
- 7. do all channel scan
- 8. STA in 11n ht40 mode
- 9. do all channel scan'
- sub module: WIFI Scan
- summary: STA in differnt PHY mode to scan AP in different PHY mode
- test environment: SSC_T2_PhyMode
- test environment description (auto): '2 SSC target connect with PC by UART.
- PC has one WiFi NIC support capture wlan packet using libpcap.
- Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- Put 4 APs near SSC targets.'
- test point 1: basic function
- test point 2: Scan in different mode and channel
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0301
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -S
- - ['']
- - - SSC SSC1 sta -S
- - [P SSC1 C +SCANFAIL, 'P SSC1 C +SCAN:', R SSC1 C +SCANDONE]
- comment: ''
- execution time: 0.0
- expected result: '1. second scan failed
- 2. first scan succeed'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: WIFI MAC
- steps: '1. do all channel scan
- 2. do scan before scan finished'
- sub module: WIFI Scan
- summary: reject scan request before scan finished
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: Scan interact with other WiFi operation
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0302
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -n 1000000 -j 5
- - ['']
- - - SSC SSC2 phy -S -o 1 -m b
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -S -n <ap_channel>
- - [R SSC2 P <ap_ssid>]
- - - SSC SSC2 phy -S -o 1 -m g
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -S -n <ap_channel>
- - [R SSC2 P <ap_ssid>]
- - - SSC SSC2 phy -S -o 1 -m n -b 20
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -S -n <ap_channel>
- - [R SSC2 P <ap_ssid>]
- - - SSC SSC2 phy -S -o 1 -m n -b 40
- - ['R SSC2 C +PHY:OK']
- - - SSC SSC2 sta -S -n <ap_channel>
- - [R SSC2 P <ap_ssid>]
- comment: ''
- execution time: 0.0
- expected result: 3. target 2 able to scan AP
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 connect to AP
- 2. target 1 start sending UDP packets
- 3. target 2 scan in AP channel in 11b.g,n,ht40 mode'
- sub module: WIFI Scan
- summary: scan in congest channel
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: Scan interact with other WiFi operation
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0303
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:OK']
- - - SSC SSC1 sta -S
- - [P SSC1 C +SCANDONE, 'P SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:OK']
- - - SSC SSC1 sta -S
- - ['']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - [P SSC1 C +SCANDONE, 'P SSC1 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '2. scan succeed, JAP succeed
- 5. JAP succeed, scan succeed'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- level: Integration
- module: WIFI MAC
- steps: '1. target 1 STA join AP
- 2. target 1 STA scan before JAP succeed
- 3. target 1 quite AP
- 4. target 1 scan
- 5. target 1 JAP before scan succeed'
- sub module: WIFI Scan
- summary: scan during JAP
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: Scan interact with other WiFi operation
- version: v1 (2015-8-15)
- - CI ready: 'Yes'
- ID: WIFI_SCAN_0304
- SDK: ESP32_IDF
- Test App: SSC
- allow fail: ''
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:OK']
- - - SSC SSC1 sta -S
- - [P SSC1 C +SCANDONE, 'P SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - SSC SSC1 sta -S
- - ['']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - [P SSC1 C +SCANDONE, 'P SSC2 C +JAP:CONNECTED']
- comment: ''
- execution time: 0.0
- expected result: '2. scan succeed, JAP succeed
- 5. JAP succeed, scan succeed'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- level: Integration
- module: WIFI MAC
- steps: '1. target 2 STA join target 1 SoftAP
- 2. target 1 STA scan before target 2 JAP succeed
- 3. target 2 STA QAP
- 4. target 1 STA scan
- 5. target 2 STA JAP before target 1 STA scan succeed'
- sub module: WIFI Scan
- summary: scan during ext STA join SoftAP
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
- PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: Scan interact with other WiFi operation
- version: v1 (2015-8-15)
- - ID: SYS_NVS_01001
- SDK: ESP32_IDF
- Test App: SSC_BLE_WIFI
- auto test: 'Yes'
- category: Function
- test point 1: compatiable test
- test point 2: test if latest SDK work with pervious version of NVS data
- summary: use old NVS data WIFI function test
- steps: |
- 1. get NVS data from earlier released branches and last master
- 2. download each NVS data to target
- 3. check if auto connected to the same AP
- 4. check if SoftAP config is correct
- expected result: |
- 1. succeed
- 2. succeed
- 3. succeed
- 4. succeed
- initial condition: None
- test environment: SSC_T1_1
- execution time: 0
- module: System
- sub module: NVS
- version: v1 (2017-06-01)
- CI ready: 'SpecialJob'
- level: Integration
- allow fail: ''
- cmd set:
- - "NVSTest/NVSCompatibleWiFi"
- - - nvs_path = "nvs_bin_folder"
- - ['']
|