TestCaseAll.yml 403 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016
  1. test cases:
  2. - CI ready: 'Yes'
  3. ID: SYS_MISC_0101
  4. SDK: '8266_NonOS
  5. 8266_RTOS
  6. ESP32_IDF'
  7. Test App: SSC
  8. allow fail: ''
  9. auto test: 'Yes'
  10. category: Function
  11. cmd set:
  12. - ''
  13. - - SSC SSC1 reboot
  14. - [R SSC1 C !!!ready!!!]
  15. comment: ''
  16. execution time: 0.0
  17. expected result: 重启成功
  18. initial condition: None
  19. initial condition description (auto): none
  20. level: Integration
  21. module: System
  22. steps: 系统重启
  23. sub module: Misc
  24. summary: test reboot function
  25. test environment: SSC_T1_1
  26. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  27. PC has 1 WiFi NIC.
  28. 1 SSC target connect with PC by UART.'
  29. test point 1: basic function
  30. test point 2: sw reboot
  31. version: v1 (2016-8-15)
  32. - CI ready: 'Yes'
  33. ID: SYS_MISC_0201
  34. SDK: '8266_NonOS
  35. 8266_RTOS
  36. ESP32_IDF'
  37. Test App: SSC
  38. allow fail: ''
  39. auto test: 'Yes'
  40. category: Function
  41. cmd set:
  42. - ''
  43. - - SSC SSC1 ram -H
  44. - ['R SSC1 RE FREEHEAP:\d+\r\n']
  45. comment: ''
  46. execution time: 0.0
  47. expected result: '
  48. 可以查询到一个数值
  49. '
  50. initial condition: None
  51. initial condition description (auto): none
  52. level: Integration
  53. module: System
  54. steps: 查询空闲ram
  55. sub module: Misc
  56. summary: get heap size test
  57. test environment: SSC_T1_1
  58. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  59. PC has 1 WiFi NIC.
  60. 1 SSC target connect with PC by UART.'
  61. test point 1: basic function
  62. test point 2: 'get heap size '
  63. version: v1 (2016-8-15)
  64. - CI ready: 'Yes'
  65. ID: TCPIP_DHCP_0101
  66. SDK: '8266_NonOS
  67. 8266_RTOS
  68. ESP32_IDF'
  69. Test App: SSC
  70. allow fail: ''
  71. auto test: 'Yes'
  72. category: Function
  73. cmd set:
  74. - ''
  75. - - SSC SSC1 dhcp -E -o 1
  76. - ['R SSC1 C +DHCP:STA,OK']
  77. - - SSC SSC1 ip -S -i 0.0.0.0
  78. - [R SSC1 C +IP]
  79. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  80. - ['']
  81. - - DELAY 20
  82. - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
  83. - - SSC SSC1 dhcp -S -o 1
  84. - ['R SSC1 C +DHCP:STA,OK']
  85. - - SSC SSC1 ip -Q
  86. - ['R SSC1 C +STAIP:0.0.0.0']
  87. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  88. - ['R SSC1 C +JAP:CONNECTED']
  89. - - SSC SSC1 ip -Q
  90. - ['R SSC1 RE "\+STAIP:%%s"%%(<target_ip>)']
  91. comment: ''
  92. execution time: 0.0
  93. expected result: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n\
  94. 4.target1 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip"
  95. initial condition: STAM1
  96. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  97. TC with initial condition STAAP1
  98. level: Integration
  99. module: TCPIP
  100. steps: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n4.target1\
  101. \ 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip"
  102. sub module: DHCP
  103. summary: dhcp client function test
  104. test environment: SSC_T1_1
  105. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  106. PC has 1 WiFi NIC.
  107. 1 SSC target connect with PC by UART.'
  108. test point 1: basic function
  109. test point 2: DHCP client function test
  110. version: v2 (2016-10-19)
  111. - CI ready: 'Yes'
  112. ID: TCPIP_DHCP_0103
  113. SDK: '8266_NonOS
  114. 8266_RTOS
  115. ESP32_IDF'
  116. Test App: SSC
  117. allow fail: ''
  118. auto test: 'Yes'
  119. category: Function
  120. cmd set:
  121. - ''
  122. - - SSC SSC1 op -S -o 3
  123. - ['R SSC1 C +MODE:OK']
  124. - - SSC SSC1 dhcp -S -o 3
  125. - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
  126. - - SSC SSC1 dhcp -Q -o 3
  127. - ['R SSC1 C +DHCP:STA,STARTED C +DHCP:AP,STARTED']
  128. - - SSC SSC1 dhcp -Q -o 1
  129. - ['R SSC1 C +DHCP:STA,STARTED NC +DHCP:AP,STARTED']
  130. - - SSC SSC1 dhcp -Q -o 2
  131. - ['R SSC1 NC +DHCP:STA,STARTED C +DHCP:AP,STARTED']
  132. - - SSC SSC1 dhcp -E -o 3
  133. - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
  134. - - SSC SSC1 dhcp -Q -o 3
  135. - ['R SSC1 C +DHCP:STA,STOPPED C +DHCP:AP,STOPPED']
  136. comment: ''
  137. execution time: 0.0
  138. expected result: '1.OK
  139. 2.OK
  140. 3.STA&AP STARTED
  141. 4.STA STARTED
  142. 5.AP STARTED
  143. 6.OK
  144. 7.STA&AP STOPPED'
  145. initial condition: STAM1
  146. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  147. TC with initial condition STAAP1
  148. level: Integration
  149. module: TCPIP
  150. steps: '1.target1 设置mode 为sta+softAP mode
  151. 2.target1 打开DHCP 3
  152. 3.target1 查询DHCP 状态
  153. 4.target1 查询sta DHCP 状态
  154. 5.target1 查询softAP DHCP 状态
  155. 6.target1 关闭 DHCP 3
  156. 7.target1 查询 DHCP 状态'
  157. sub module: DHCP
  158. summary: dhcp status query
  159. test environment: SSC_T1_1
  160. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  161. PC has 1 WiFi NIC.
  162. 1 SSC target connect with PC by UART.'
  163. test point 1: basic function
  164. test point 2: DHCP client function test
  165. version: v1 (2016-8-15)
  166. - CI ready: 'Yes'
  167. ID: TCPIP_DHCP_0201
  168. SDK: '8266_NonOS
  169. 8266_RTOS
  170. ESP32_IDF'
  171. Test App: SSC
  172. allow fail: ''
  173. auto test: 'Yes'
  174. category: Function
  175. cmd set:
  176. - ''
  177. - - SSC SSC1 dhcp -E -o 2
  178. - ['R SSC1 C +DHCP:AP,OK']
  179. - - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
  180. - ['R SSC1 C +IP:OK']
  181. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  182. - ['R SSC1 C +DHCP:LEASE,OK']
  183. - - SSC SSC1 dhcp -L -s 192.168.4.1 -e 192.168.4.10
  184. - ['R SSC1 C +DHCP:LEASE,ERROR']
  185. - - SSC SSC1 dhcp -L -s 192.168.4.5 -e 192.168.4.2
  186. - ['R SSC1 C +DHCP:LEASE,ERROR']
  187. - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.5
  188. - ['R SSC1 C +DHCP:LEASE,ERROR']
  189. - - SSC SSC1 dhcp -S -o 2
  190. - ['R SSC1 C +DHCP:AP,OK']
  191. comment: ''
  192. execution time: 0.0
  193. expected result: '1.target1 关闭DHCP 2 OK
  194. 2.target1 设置ip 成功
  195. 3.设置dhcp 地址池 OK
  196. 4.ERROR
  197. 5.ERROR
  198. 6.ERROR
  199. 7.target1 打开DHCP ok'
  200. initial condition: APM1
  201. initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
  202. condition APSTA1
  203. level: Integration
  204. module: TCPIP
  205. steps: "1.target1 关闭DHCP 2 \n2.target1 设置ip \n3.设置dhcp 地址池\n4.设置dhcp错误的参数\n5.设置dhcp错误的参数\n\
  206. 6.设置dhcp错误的参数\n7.target1 打开DHCP ok"
  207. sub module: DHCP
  208. summary: server dhcp lease test
  209. test environment: SSC_T1_1
  210. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  211. PC has 1 WiFi NIC.
  212. 1 SSC target connect with PC by UART.'
  213. test point 1: basic function
  214. test point 2: DHCP server function test
  215. version: v1 (2016-8-15)
  216. - CI ready: 'Yes'
  217. ID: TCPIP_DHCP_0202
  218. SDK: '8266_NonOS
  219. 8266_RTOS
  220. ESP32_IDF'
  221. Test App: SSC
  222. allow fail: ''
  223. auto test: 'Yes'
  224. category: Function
  225. cmd set:
  226. - ''
  227. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  228. - ['R SSC1 C +SAP:OK']
  229. - - SSC SSC1 dhcp -E -o 2
  230. - ['R SSC1 C +DHCP:AP,OK']
  231. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  232. - ['R SSC1 C +DHCP:LEASE,OK']
  233. - - SSC SSC1 dhcp -S -o 2
  234. - ['R SSC1 C +DHCP:AP,OK']
  235. - - LOOP 3 4 "['01','02','03']" "[2,3,4]"
  236. - ['']
  237. - - SSC SSC2 sta -D
  238. - ['R SSC2 C +QAP:OK']
  239. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
  240. - ['R SSC2 C +MAC:STA,OK']
  241. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  242. - ['R SSC2 C +JAP:CONNECTED']
  243. - - SSC SSC2 ip -Q -o 1
  244. - ['R SSC2 C +STAIP:192.168.4.{%s}']
  245. comment: ''
  246. execution time: 0.0
  247. expected result: '1. succeed
  248. 2. succeed
  249. 3,4: get IP from dhcp pool with correct sequence'
  250. initial condition: T2_1
  251. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  252. autogen a TC with initial condition T2_2
  253. level: Integration
  254. module: TCPIP
  255. steps: '1. config softap to a random ssid
  256. 2. config DHCP Server on Target1
  257. 3. target change mac, connect to Target1
  258. 4. Loop step3'
  259. sub module: DHCP
  260. summary: dhcp server ip pool
  261. test environment: SSC_T2_1
  262. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  263. PC has 1 WiFi NIC.
  264. 2 SSC target connect with PC by UART.'
  265. test point 1: basic function
  266. test point 2: DHCP server function test
  267. version: v1 (2016-8-15)
  268. - CI ready: 'Yes'
  269. ID: TCPIP_DHCP_0203
  270. SDK: '8266_NonOS
  271. 8266_RTOS
  272. ESP32_IDF'
  273. Test App: SSC
  274. allow fail: ''
  275. auto test: 'Yes'
  276. category: Function
  277. cmd set:
  278. - ''
  279. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  280. - ['R SSC1 C +SAP:OK']
  281. - - SSC SSC1 dhcp -E -o 2
  282. - ['R SSC1 C +DHCP:AP,OK']
  283. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3
  284. - ['R SSC1 C +DHCP:LEASE,OK']
  285. - - SSC SSC1 dhcp -S -o 2
  286. - ['R SSC1 C +DHCP:AP,OK']
  287. - - LOOP 2 4 "['01','02']" "[2,3]"
  288. - ['']
  289. - - SSC SSC2 sta -D
  290. - ['R SSC2 C +QAP:OK']
  291. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
  292. - ['R SSC2 C +MAC:STA,OK']
  293. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  294. - ['R SSC2 C +JAP:CONNECTED']
  295. - - SSC SSC2 ip -Q -o 1
  296. - ['R SSC2 C +STAIP:192.168.4.{%s}']
  297. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
  298. - ['R SSC2 C +MAC:STA,OK']
  299. - - DELAY 20
  300. - ['']
  301. - - SSC SSC2 ip -Q -o 1
  302. - ['R SSC2 C +STAIP:0.0.0.0']
  303. comment: ''
  304. execution time: 0.0
  305. expected result: '1. succeed
  306. 2. succeed
  307. 3. succeed
  308. 4.1 succeed
  309. 4.2 failed'
  310. initial condition: T2_1
  311. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  312. autogen a TC with initial condition T2_2
  313. level: Integration
  314. module: TCPIP
  315. steps: '1. config softap to a random ssid
  316. 2. config DHCP Server on Target1(.4.2 - .4.3)
  317. 3. target change mac, connect to Target1
  318. 4. Loop step3 twice'
  319. sub module: DHCP
  320. summary: dhcp server ip pool empty
  321. test environment: SSC_T2_1
  322. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  323. PC has 1 WiFi NIC.
  324. 2 SSC target connect with PC by UART.'
  325. test point 1: basic function
  326. test point 2: DHCP server function test
  327. version: v1 (2016-8-15)
  328. - CI ready: 'Yes'
  329. ID: TCPIP_DHCP_0204
  330. SDK: '8266_NonOS
  331. 8266_RTOS
  332. ESP32_IDF'
  333. Test App: SSC
  334. allow fail: ''
  335. auto test: 'Yes'
  336. category: Function
  337. cmd set:
  338. - ''
  339. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  340. - ['R SSC1 C +SAP:OK']
  341. - - SSC SSC1 dhcp -E -o 2
  342. - ['R SSC1 C +DHCP:AP,OK']
  343. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3 -t 1
  344. - ['R SSC1 C +DHCP:LEASE,OK']
  345. - - SSC SSC1 dhcp -S -o 2
  346. - ['R SSC1 C +DHCP:AP,OK']
  347. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  348. - ['R SSC2 C +JAP:CONNECTED']
  349. - - SSC SSC2 ip -Q -o 1
  350. - ['R SSC2 C +STAIP:192.168.4.2']
  351. - - DELAY 90
  352. - ['']
  353. - - SSC SSC2 ip -Q -o 1
  354. - ['R SSC2 C +STAIP:192.168.4.2']
  355. - - SSC SSC2 sta -D
  356. - ['R SSC2 C +JAP:DISCONNECTED']
  357. - - DELAY 60
  358. - ['']
  359. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
  360. - ['R SSC2 C +MAC:STA,OK']
  361. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  362. - ['R SSC2 C +JAP:CONNECTED']
  363. - - SSC SSC2 ip -Q -o 1
  364. - ['R SSC2 C +STAIP:192.168.4.2']
  365. comment: ''
  366. execution time: 0.0
  367. expected result: '1. succeed
  368. 2. succeed
  369. 3. get IP 192.168.4.2
  370. 5. succeed
  371. 6. succeed
  372. 8. get IP 192.168.4.2'
  373. initial condition: T2_1
  374. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  375. autogen a TC with initial condition T2_2
  376. level: Integration
  377. module: TCPIP
  378. steps: '1. config softap to a random ssid
  379. 2. config DHCP timeout as 1 minute
  380. 3. target2 connect to target1
  381. 4. wait 90 seconds
  382. 5. check if target2 IP is same
  383. 6. target2 disconnect
  384. 7. wait 60s
  385. 8. target2 change mac and connect to target1'
  386. sub module: DHCP
  387. summary: dhcp server timeout test
  388. test environment: SSC_T2_1
  389. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  390. PC has 1 WiFi NIC.
  391. 2 SSC target connect with PC by UART.'
  392. test point 1: basic function
  393. test point 2: DHCP server function test
  394. version: v1 (2016-8-15)
  395. - CI ready: 'Yes'
  396. ID: TCPIP_DHCP_0205
  397. SDK: '8266_NonOS
  398. 8266_RTOS
  399. ESP32_IDF'
  400. Test App: SSC
  401. allow fail: ''
  402. auto test: 'Yes'
  403. category: Function
  404. cmd set:
  405. - ''
  406. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  407. - ['R SSC1 C +SAP:OK']
  408. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  409. - ['R SSC2 C +JAP:CONNECTED']
  410. - - SSC SSC1 dhcp -E -o 2
  411. - ['R SSC1 C +DHCP:AP,OK']
  412. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3 -t 1
  413. - ['P SSC1 C +DHCP:LEASE,OK']
  414. - - SSC SSC1 dhcp -S -o 2
  415. - ['P SSC1 C +DHCP:AP,OK', 'P SSC2 C +JAP:DISCONNECTED']
  416. comment: ''
  417. execution time: 0.0
  418. expected result: '1. succeed
  419. 2. succeed
  420. 3. target2 wifi disconnected'
  421. initial condition: T2_1
  422. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  423. autogen a TC with initial condition T2_2
  424. level: Integration
  425. module: TCPIP
  426. steps: '1. config softap to a random ssid
  427. 2. target2 connect to target1
  428. 3. disable DHCP server, do config and enable'
  429. sub module: DHCP
  430. summary: disconnect STA if config dhcp server
  431. test environment: SSC_T2_1
  432. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  433. PC has 1 WiFi NIC.
  434. 2 SSC target connect with PC by UART.'
  435. test point 1: basic function
  436. test point 2: DHCP server function test
  437. version: v1 (2016-8-15)
  438. - CI ready: 'Yes'
  439. ID: TCPIP_DHCP_0206
  440. SDK: '8266_NonOS
  441. 8266_RTOS
  442. ESP32_IDF'
  443. Test App: SSC
  444. allow fail: ''
  445. auto test: 'Yes'
  446. category: Function
  447. cmd set:
  448. - ''
  449. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  450. - ['R SSC1 C +SAP:OK']
  451. - - SSC SSC1 dhcp -E -o 2
  452. - ['R SSC1 C +DHCP:AP,OK']
  453. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  454. - ['R SSC1 C +DHCP:LEASE,OK']
  455. - - SSC SSC1 dhcp -S -o 2
  456. - ['R SSC1 C +DHCP:AP,OK']
  457. - - LOOP 4 4 "['01','02','03','01']" "[2,3,4,2]"
  458. - ['']
  459. - - SSC SSC2 sta -D
  460. - ['R SSC2 C +QAP:OK']
  461. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
  462. - ['R SSC2 C +MAC:STA,OK']
  463. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  464. - ['R SSC2 C +JAP:CONNECTED']
  465. - - SSC SSC2 ip -Q -o 1
  466. - ['R SSC2 C +STAIP:192.168.4.{%s}']
  467. comment: ''
  468. execution time: 0.0
  469. expected result: '1. succeed
  470. 2. succeed
  471. 4. get IP 192.168.4.2 - 192.168.4.4
  472. 5. get IP 192.168.4.2'
  473. initial condition: T2_1
  474. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  475. autogen a TC with initial condition T2_2
  476. level: Integration
  477. module: TCPIP
  478. steps: '1. config softap to a random ssid
  479. 2. disable DHCP server, do config and enable
  480. 3. target2 change mac, connect to softap, disconnect
  481. 4. Loop step3 twice
  482. 5. change to first mac, connect to softap'
  483. sub module: DHCP
  484. summary: dhcp server assign same IP to same MAC when it's not released
  485. test environment: SSC_T2_1
  486. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  487. PC has 1 WiFi NIC.
  488. 2 SSC target connect with PC by UART.'
  489. test point 1: basic function
  490. test point 2: DHCP server function test
  491. version: v1 (2016-8-15)
  492. - CI ready: 'Yes'
  493. ID: TCPIP_DHCP_0207
  494. SDK: '8266_NonOS
  495. 8266_RTOS
  496. ESP32_IDF'
  497. Test App: SSC
  498. allow fail: ''
  499. auto test: 'Yes'
  500. category: Function
  501. cmd set:
  502. - ''
  503. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  504. - ['R SSC1 C +SAP:OK']
  505. - - SSC SSC1 dhcp -E -o 2
  506. - ['R SSC1 C +DHCP:AP,OK']
  507. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  508. - ['R SSC1 C +DHCP:LEASE,OK']
  509. - - SSC SSC1 dhcp -S -o 2
  510. - ['R SSC1 C +DHCP:AP,OK']
  511. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  512. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  513. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  514. - ['R SSC2 C +JAP:CONNECTED']
  515. - - WIFI <pc_wifi_nic> DISCONN2
  516. - ['R PC_COM NC ERROR C +WIFIDISCONN:OK']
  517. - - SSC SSC2 sta -D
  518. - ['R SSC2 C +QAP:OK']
  519. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
  520. - ['R SSC2 C +MAC:STA,OK']
  521. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  522. - ['R SSC2 C +JAP:CONNECTED']
  523. - - SSC SSC2 ip -Q -o 1
  524. - ['R SSC2 C +STAIP:192.168.4.2']
  525. comment: ''
  526. execution time: 0.0
  527. expected result: '1. succeed
  528. 2. succeed
  529. 3. get IP 192.168.4.2
  530. 4. succeed
  531. 5. succeed
  532. 6. get IP 192.168.4.2'
  533. initial condition: T2_1
  534. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  535. autogen a TC with initial condition T2_2
  536. level: Integration
  537. module: TCPIP
  538. steps: '1. config softap to a random ssid
  539. 2. disable DHCP server, do config and enable
  540. 3. PC WIFI NIC connect to target1 softap
  541. 4. target2 connect to target1 softap and disnnect
  542. 5. PC release IP and disconnected
  543. 6. target2 change mac and connect to target1'
  544. sub module: DHCP
  545. summary: dhcp server prefer assign released IP to new client
  546. test environment: SSC_T2_1
  547. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  548. PC has 1 WiFi NIC.
  549. 2 SSC target connect with PC by UART.'
  550. test point 1: basic function
  551. test point 2: DHCP server function test
  552. version: v1 (2016-8-15)
  553. - CI ready: 'Yes'
  554. ID: TCPIP_DHCP_0208
  555. SDK: '8266_NonOS
  556. 8266_RTOS
  557. ESP32_IDF'
  558. Test App: SSC
  559. allow fail: ''
  560. auto test: 'Yes'
  561. category: Function
  562. cmd set:
  563. - ''
  564. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  565. - ['R SSC1 C +SAP:OK']
  566. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  567. - ['R SSC2 C +JAP:CONNECTED']
  568. - - SSC SSC1 dhcp -E -o 2
  569. - ['R SSC1 C +DHCP:AP,OK']
  570. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  571. - ['R SSC1 C +DHCP:LEASE,OK']
  572. - - SSC SSC1 dhcp -S -o 2
  573. - ['P SSC1 C +DHCP:AP,OK', 'P SSC2 C +JAP:DISCONNECTED']
  574. - - SSC SSC2 sta -D
  575. - ['R SSC2 C +JAP:DISCONNECTED']
  576. - - SSC SSC1 dhcp -S -o 2
  577. - ['R SSC1 C +DHCP:AP,OK']
  578. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  579. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  580. - - SSC SSC1 ap -L
  581. - [R SSC1 C 192.168.4.2 P <pc_wifi_nic_mac>]
  582. comment: ''
  583. execution time: 0.0
  584. expected result: '1. succeed
  585. 2. succeed
  586. 3. succeed
  587. 4. get IP 192.168.4.2
  588. 5. can only find target2 with IP 192.168.4.2'
  589. initial condition: T2_1
  590. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  591. autogen a TC with initial condition T2_2
  592. level: Integration
  593. module: TCPIP
  594. steps: '1. config softap to a random ssid
  595. 2. PC NIC connect to target1 softap
  596. 3. disable DHCP server, do config and enable
  597. 4. target2 connect to target1 softap
  598. 5. softap list connected station'
  599. sub module: DHCP
  600. summary: dhcp server reconfig and new client able to get first IP in pool
  601. test environment: SSC_T2_1
  602. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  603. PC has 1 WiFi NIC.
  604. 2 SSC target connect with PC by UART.'
  605. test point 1: basic function
  606. test point 2: DHCP server function test
  607. version: v1 (2016-8-15)
  608. - CI ready: 'Yes'
  609. ID: TCPIP_DHCP_0209
  610. SDK: '8266_NonOS
  611. 8266_RTOS
  612. ESP32_IDF'
  613. Test App: SSC
  614. allow fail: ''
  615. auto test: 'Yes'
  616. category: Function
  617. cmd set:
  618. - ''
  619. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  620. - ['R SSC1 C +SAP:OK']
  621. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  622. - ['R SSC2 C +JAP:CONNECTED']
  623. - - SSC SSC1 dhcp -E -o 2
  624. - ['R SSC1 C +DHCP:AP,OK']
  625. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  626. - ['R SSC1 C +DHCP:LEASE,OK']
  627. - - SSC SSC1 dhcp -S -o 2
  628. - ['R SSC1 C +DHCP:AP,OK']
  629. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  630. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  631. - - DELAY 20
  632. - ['']
  633. - - SSC SSC1 ap -L
  634. - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
  635. comment: ''
  636. execution time: 0.0
  637. expected result: '1. succeed
  638. 2. succeed
  639. 3. succeed
  640. 4. succeed
  641. 5. find target2 and PC'
  642. initial condition: T2_1
  643. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  644. autogen a TC with initial condition T2_2
  645. level: Integration
  646. module: TCPIP
  647. steps: '1. config softap to a random ssid
  648. 2. target2 connect to target1 softap
  649. 3. disable DHCP server, do config and enable
  650. 4. PC NIC connect to target1 softap
  651. 5. softap list connected station'
  652. sub module: DHCP
  653. summary: dhcp server reconfig, old client and new client able to get IP
  654. test environment: SSC_T2_1
  655. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  656. PC has 1 WiFi NIC.
  657. 2 SSC target connect with PC by UART.'
  658. test point 1: basic function
  659. test point 2: DHCP server function test
  660. version: v1 (2016-8-15)
  661. - CI ready: 'Yes'
  662. ID: TCPIP_DHCP_0210
  663. SDK: '8266_NonOS
  664. 8266_RTOS
  665. ESP32_IDF'
  666. Test App: SSC
  667. allow fail: ''
  668. auto test: 'Yes'
  669. category: Function
  670. cmd set:
  671. - ''
  672. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  673. - ['R SSC1 C +SAP:OK']
  674. - - SSC SSC1 dhcp -E -o 2
  675. - ['R SSC1 C +DHCP:AP,OK']
  676. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  677. - ['R SSC1 C +DHCP:LEASE,OK']
  678. - - SSC SSC1 dhcp -S -o 2
  679. - ['R SSC1 C +DHCP:AP,OK']
  680. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  681. - ['R SSC2 C +JAP:CONNECTED']
  682. - - WIFI <pc_wifi_nic> CONN2 <random_string> <random_string> 192.168.4.2
  683. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  684. - - SSC SSC1 ap -L
  685. - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
  686. comment: ''
  687. execution time: 0.0
  688. expected result: '1. succeed
  689. 2. succeed
  690. 3. succeed
  691. 4. succeed
  692. 5. find target2 and PC'
  693. initial condition: T2_1
  694. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  695. autogen a TC with initial condition T2_2
  696. level: Integration
  697. module: TCPIP
  698. steps: '1. config softap to a random ssid
  699. 2. target2 connect to target1 softap
  700. 3. disable DHCP server, do config and enable
  701. 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
  702. 5. softap list connected station'
  703. sub module: DHCP
  704. summary: dhcp server reconfig, old client able to get IP (discover with requested
  705. IP)
  706. test environment: SSC_T2_1
  707. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  708. PC has 1 WiFi NIC.
  709. 2 SSC target connect with PC by UART.'
  710. test point 1: basic function
  711. test point 2: DHCP server function test
  712. version: v1 (2016-8-15)
  713. - CI ready: 'Yes'
  714. ID: TCPIP_DHCP_0211
  715. SDK: '8266_NonOS
  716. 8266_RTOS
  717. ESP32_IDF'
  718. Test App: SSC
  719. allow fail: ''
  720. auto test: 'Yes'
  721. category: Function
  722. cmd set:
  723. - ''
  724. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  725. - ['R SSC1 C +SAP:OK']
  726. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  727. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  728. - - SSC SSC1 dhcp -E -o 2
  729. - ['R SSC1 C +DHCP:AP,OK']
  730. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  731. - ['R SSC1 C +DHCP:LEASE,OK']
  732. - - SSC SSC1 dhcp -S -o 2
  733. - ['R SSC1 C +DHCP:AP,OK']
  734. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  735. - ['R SSC2 C +JAP:CONNECTED']
  736. - - DELAY 30
  737. - ['']
  738. - - SSC SSC1 ap -L
  739. - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
  740. comment: ''
  741. execution time: 0.0
  742. expected result: '1. succeed
  743. 2. succeed
  744. 3. succeed
  745. 4. succeed
  746. 5. find target2 and PC'
  747. initial condition: T2_1
  748. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  749. autogen a TC with initial condition T2_2
  750. level: Integration
  751. module: TCPIP
  752. steps: '1. config softap to a random ssid
  753. 2. target2 connect to target1 softap
  754. 3. disable DHCP server, do config and enable
  755. 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
  756. 5. softap list connected station'
  757. sub module: DHCP
  758. summary: dhcp server reconfig, old client able to renew IP (direct send request)
  759. test environment: SSC_T2_1
  760. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  761. PC has 1 WiFi NIC.
  762. 2 SSC target connect with PC by UART.'
  763. test point 1: basic function
  764. test point 2: DHCP server function test
  765. version: v1 (2016-8-15)
  766. - CI ready: 'Yes'
  767. ID: TCPIP_DHCP_0212
  768. SDK: '8266_NonOS
  769. 8266_RTOS
  770. ESP32_IDF'
  771. Test App: SSC
  772. allow fail: ''
  773. auto test: 'Yes'
  774. category: Function
  775. cmd set:
  776. - ''
  777. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  778. - ['R SSC1 C +SAP:OK']
  779. - - SSC SSC1 dhcp -E -o 2
  780. - ['R SSC1 C +DHCP:AP,OK']
  781. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  782. - ['']
  783. - - DELAY 20
  784. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  785. - - SSC SSC1 dhcp -S -o 2
  786. - ['R SSC1 C +DHCP:AP,OK']
  787. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  788. - ['R SSC2 C +JAP:CONNECTED']
  789. comment: ''
  790. execution time: 0.0
  791. expected result: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target\
  792. \ 1,FAIL \n4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
  793. initial condition: T2_1
  794. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  795. autogen a TC with initial condition T2_2
  796. level: Integration
  797. module: TCPIP
  798. steps: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target 1,FAIL \n\
  799. 4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
  800. sub module: DHCP
  801. summary: dhcp server function test
  802. test environment: SSC_T2_1
  803. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  804. PC has 1 WiFi NIC.
  805. 2 SSC target connect with PC by UART.'
  806. test point 1: basic function
  807. test point 2: DHCP server function test
  808. version: v2 (2016-10-19)
  809. - CI ready: 'Yes'
  810. ID: TCPIP_DHCP_0301
  811. SDK: '8266_NonOS
  812. 8266_RTOS
  813. ESP32_IDF'
  814. Test App: SSC
  815. allow fail: ''
  816. auto test: 'Yes'
  817. category: Function
  818. cmd set:
  819. - ''
  820. - - SSC SSC1 dhcp -E -o 1
  821. - ['R SSC1 C +DHCP:STA,OK']
  822. - - SSC SSC1 ip -S -i 192.168.123.123 -o 1
  823. - ['R SSC1 C +IP:OK']
  824. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  825. - ['R SSC1 C +JAP:CONNECTED']
  826. - - SSC SSC1 ip -S -i 0.0.0.0 -o 1
  827. - [R SSC1 C +IP]
  828. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  829. - ['']
  830. - - DELAY 10
  831. - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
  832. comment: ''
  833. execution time: 0.0
  834. expected result: '1.OK
  835. 2.OK
  836. 3.JAP CONNETED
  837. 4.OK
  838. 5.等待10s,JAP fail'
  839. initial condition: STAM1
  840. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  841. TC with initial condition STAAP1
  842. level: Integration
  843. module: TCPIP
  844. steps: '1.target1 关闭DHCP 1
  845. 2.target1 设置sta ip 192.168.123.123
  846. 4.target1 jap AP
  847. 5.target1 设置sta ip 0.0.0.0
  848. 6.target1 jap AP'
  849. sub module: DHCP
  850. summary: sta dhcp static ip interaction
  851. test environment: SSC_T1_1
  852. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  853. PC has 1 WiFi NIC.
  854. 1 SSC target connect with PC by UART.'
  855. test point 1: interaction
  856. test point 2: static IP and DHCP interaction test
  857. version: v2 (2016-10-19)
  858. - CI ready: 'Yes'
  859. ID: TCPIP_DHCP_0302
  860. SDK: '8266_NonOS
  861. 8266_RTOS
  862. ESP32_IDF'
  863. Test App: SSC
  864. allow fail: ''
  865. auto test: 'Yes'
  866. category: Function
  867. cmd set:
  868. - ''
  869. - - SSC SSC1 dhcp -S -o 2
  870. - ['R SSC1 C +DHCP:AP,OK']
  871. - - SSC SSC1 ip -S -i 192.168.123.123 -o 2
  872. - ['R SSC1 C +IP:ERROR']
  873. - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.10
  874. - ['R SSC1 C +DHCP:LEASE,ERROR']
  875. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  876. - ['']
  877. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  878. - ['P SSC2 C +JAP:CONNECTED']
  879. - - SSC SSC1 dhcp -E -o 2
  880. - ['R SSC1 C +DHCP:AP,OK']
  881. - - SSC SSC1 ip -S -i 192.168.4.1 -o 2
  882. - ['R SSC1 C +IP:OK']
  883. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.10
  884. - ['R SSC1 C +DHCP:LEASE,OK']
  885. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  886. - ['']
  887. - - DELAY 10
  888. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  889. comment: ''
  890. execution time: 0.0
  891. expected result: '1.target 1 OK
  892. 2.target1 ERROR
  893. 3.target1 ERROR
  894. 4.target2 jap target1 OK
  895. 5.target1 OK
  896. 6.target1 OK
  897. 7.target1 OK
  898. 8.target2 jap target1 OK'
  899. initial condition: T2_1
  900. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  901. autogen a TC with initial condition T2_2
  902. level: Integration
  903. module: TCPIP
  904. steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n3.target1 设置地址池\n\
  905. 4.target1下设置ssid 和pwd 加密方式\n5.target2 连接target1 \n6.target1 关闭DHCP 2\n7.target1\
  906. \ 设置softAP ip \n8.target1 设置正确的地址池\n9.target2 连接target1 "
  907. sub module: DHCP
  908. summary: ap dhcp static ip interaction
  909. test environment: SSC_T2_1
  910. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  911. PC has 1 WiFi NIC.
  912. 2 SSC target connect with PC by UART.'
  913. test point 1: interaction
  914. test point 2: static IP and DHCP interaction test
  915. version: v1 (2016-8-15)
  916. - CI ready: 'Yes'
  917. ID: TCPIP_DNS_0101
  918. SDK: '8266_NonOS
  919. 8266_RTOS
  920. ESP32_IDF'
  921. Test App: SSC
  922. allow fail: 3/5
  923. auto test: 'Yes'
  924. category: Function
  925. cmd set:
  926. - ''
  927. - - SSC SSC1 soc -H -d iot.espressif.cn
  928. - ['R SSC1 C +HOSTIP:OK,115.29.202.58']
  929. comment: ''
  930. execution time: 0.0
  931. expected result: 1.OK
  932. initial condition: STAM2
  933. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  934. TC with initial condition STAAP2
  935. level: Integration
  936. module: TCPIP
  937. steps: 1. get host name "espressif.cn"
  938. sub module: DNS
  939. summary: get host by name test
  940. test environment: SSC_T1_2
  941. test environment description (auto): 'Able to access WAN after connect to AP.
  942. 1 SSC target connect with PC by UART.'
  943. test point 1: basic function
  944. test point 2: DNS function test
  945. version: v1 (2016-8-15)
  946. - CI ready: 'Yes'
  947. ID: TCPIP_DNS_0102
  948. SDK: '8266_NonOS
  949. 8266_RTOS
  950. ESP32_IDF'
  951. Test App: SSC
  952. allow fail: 3/5
  953. auto test: 'Yes'
  954. category: Function
  955. cmd set:
  956. - ''
  957. - - SSC SSC1 soc -H -d factory.espressif.cn
  958. - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
  959. - - SSC SSC1 soc -B -t TCP
  960. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  961. - - SSC SSC1 soc -C -s <sock1> -i <ip_addr> -p 9001
  962. - ['R SSC1 RE \+CONNECT:\d+,OK']
  963. - - SSC SSC1 soc -S -s <sock1> -l 10
  964. - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
  965. comment: ''
  966. execution time: 0.0
  967. expected result: '1.OK
  968. 2.OK
  969. 3.OK
  970. 4.OK'
  971. initial condition: STAM2
  972. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  973. TC with initial condition STAAP2
  974. level: Integration
  975. module: TCPIP
  976. steps: '1. get host name "espressif.cn"
  977. 2. connect, send, recv1. get host name "espressif.cn"
  978. 2. connect, send, recv'
  979. sub module: DNS
  980. summary: TCP connect to iot.espressif.com
  981. test environment: SSC_T1_2
  982. test environment description (auto): 'Able to access WAN after connect to AP.
  983. 1 SSC target connect with PC by UART.'
  984. test point 1: basic function
  985. test point 2: DNS function test
  986. version: v2 (2016-10-19)
  987. - CI ready: 'Yes'
  988. ID: TCPIP_DNS_0103
  989. SDK: '8266_NonOS
  990. 8266_RTOS
  991. ESP32_IDF'
  992. Test App: SSC
  993. allow fail: 3/5
  994. auto test: 'Yes'
  995. category: Function
  996. cmd set:
  997. - ''
  998. - - SSC SSC1 soc -H -d factory.espressif.cn
  999. - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
  1000. - - SSC SSC1 soc -B -t UDP
  1001. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  1002. - - SSC SSC1 soc -S -s <sock1> -i <ip_addr> -p 9003 -l 10
  1003. - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
  1004. comment: ''
  1005. execution time: 0.0
  1006. expected result: '1.OK
  1007. 2.OK
  1008. 3.OK'
  1009. initial condition: STAM2
  1010. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1011. TC with initial condition STAAP2
  1012. level: Integration
  1013. module: TCPIP
  1014. steps: '1. get host name "espressif.cn"
  1015. 2. sendto, recvfrom1. get host name "espressif.cn"
  1016. 2. sendto, recvfrom'
  1017. sub module: DNS
  1018. summary: UDP send to iot.expressif.com
  1019. test environment: SSC_T1_2
  1020. test environment description (auto): 'Able to access WAN after connect to AP.
  1021. 1 SSC target connect with PC by UART.'
  1022. test point 1: basic function
  1023. test point 2: DNS function test
  1024. version: v2 (2016-10-19)
  1025. - CI ready: 'Yes'
  1026. ID: TCPIP_ICMP_0101
  1027. SDK: '8266_NonOS
  1028. 8266_RTOS
  1029. ESP32_IDF'
  1030. Test App: SSC
  1031. allow fail: 1/5
  1032. auto test: 'Yes'
  1033. category: Function
  1034. cmd set:
  1035. - ''
  1036. - - SSC SSC1 ping -i <pc_ip>
  1037. - ['R SSC1 C +PING:OK']
  1038. - - SSC SSC1 ping -i <pc_ip> -c 2
  1039. - ['R SSC1 C +PING:OK']
  1040. comment: ''
  1041. execution time: 0.0
  1042. expected result: '1.ok
  1043. 2.ok'
  1044. initial condition: STAM2
  1045. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1046. TC with initial condition STAAP2
  1047. level: Integration
  1048. module: TCPIP
  1049. steps: '1.ping -i <pc_ip>
  1050. 2.ping -i <pc_ip> -c 2'
  1051. sub module: ICMP
  1052. summary: ping function test
  1053. test environment: SSC_T1_1
  1054. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1055. PC has 1 WiFi NIC.
  1056. 1 SSC target connect with PC by UART.'
  1057. test point 1: basic function
  1058. test point 2: ping function test
  1059. version: v1 (2016-8-15)
  1060. - CI ready: 'Yes'
  1061. ID: TCPIP_IGMP_0101
  1062. SDK: '8266_NonOS
  1063. 8266_RTOS
  1064. ESP32_IDF'
  1065. Test App: SSC
  1066. allow fail: ''
  1067. auto test: 'Yes'
  1068. category: Function
  1069. cmd set:
  1070. - ''
  1071. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  1072. - ['R SSC1 C +IGMP:OK']
  1073. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  1074. - ['R SSC1 C +IGMP:OK']
  1075. - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
  1076. - ['R SSC1 C +IGMP:ERROR']
  1077. - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
  1078. - ['R SSC1 C +IGMP:ERROR']
  1079. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
  1080. - ['R SSC1 C +IGMP:ERROR']
  1081. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
  1082. - ['R SSC1 C +IGMP:ERROR']
  1083. comment: ''
  1084. execution time: 0.0
  1085. expected result: '1. success
  1086. 2. failed
  1087. 3. failed
  1088. 4. failed'
  1089. initial condition: STAM2
  1090. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1091. TC with initial condition STAAP2
  1092. level: Integration
  1093. module: TCPIP
  1094. steps: '1. join group with correct host addr and multicast addr
  1095. 2. join group with correct host addr and wrong multicast addr
  1096. 3. join group with wrong host addr and correct multicast addr
  1097. 4. join group with wrong host addr and wrong multicast addr'
  1098. sub module: IGMP
  1099. summary: station IGMP join group address check
  1100. test environment: SSC_T1_1
  1101. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1102. PC has 1 WiFi NIC.
  1103. 1 SSC target connect with PC by UART.'
  1104. test point 1: basic function
  1105. test point 2: IGMP API parameter check
  1106. version: v1 (2016-8-15)
  1107. - CI ready: 'Yes'
  1108. ID: TCPIP_IGMP_0102
  1109. SDK: '8266_NonOS
  1110. 8266_RTOS
  1111. ESP32_IDF'
  1112. Test App: SSC
  1113. allow fail: ''
  1114. auto test: 'Yes'
  1115. category: Function
  1116. cmd set:
  1117. - ''
  1118. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  1119. - ['R SSC1 C +IGMP:OK']
  1120. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
  1121. - ['R SSC1 C +IGMP:ERROR']
  1122. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
  1123. - ['R SSC1 C +IGMP:ERROR']
  1124. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
  1125. - ['R SSC1 C +IGMP:ERROR']
  1126. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  1127. - ['R SSC1 C +IGMP:OK']
  1128. comment: ''
  1129. execution time: 0.0
  1130. expected result: '1. success
  1131. 2. failed
  1132. 3. failed
  1133. 4. failed
  1134. 5. succeed'
  1135. initial condition: STAM2
  1136. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1137. TC with initial condition STAAP2
  1138. level: Integration
  1139. module: TCPIP
  1140. steps: '1. join group with correct host addr and multicast addr
  1141. 2. leave group with correct host addr and wrong multicast addr
  1142. 3. leave group with wrong host addr and correct multicast addr
  1143. 4. leave group with wrong host addr and wrong multicast addr
  1144. 5. leave group with correct host addr and correct multicast addr'
  1145. sub module: IGMP
  1146. summary: station IGMP leave group address check
  1147. test environment: SSC_T1_1
  1148. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1149. PC has 1 WiFi NIC.
  1150. 1 SSC target connect with PC by UART.'
  1151. test point 1: basic function
  1152. test point 2: IGMP API parameter check
  1153. version: v1 (2016-8-15)
  1154. - CI ready: 'Yes'
  1155. ID: TCPIP_IGMP_0103
  1156. SDK: '8266_NonOS
  1157. 8266_RTOS
  1158. ESP32_IDF'
  1159. Test App: SSC
  1160. allow fail: ''
  1161. auto test: 'Yes'
  1162. category: Function
  1163. cmd set:
  1164. - ''
  1165. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  1166. - ['R SSC1 C +IGMP:OK']
  1167. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  1168. - ['R SSC1 C +IGMP:OK']
  1169. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 223.1.1.1
  1170. - ['R SSC1 C +IGMP:ERROR']
  1171. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 240.1.1.1
  1172. - ['R SSC1 C +IGMP:ERROR']
  1173. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
  1174. - ['R SSC1 C +IGMP:ERROR']
  1175. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
  1176. - ['R SSC1 C +IGMP:ERROR']
  1177. comment: ''
  1178. execution time: 0.0
  1179. expected result: '1. success
  1180. 2. failed
  1181. 3. failed
  1182. 4. failed'
  1183. initial condition: APM2
  1184. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  1185. a TC with initial condition APSTA2
  1186. level: Integration
  1187. module: TCPIP
  1188. steps: '1. join group with correct host addr and multicast addr
  1189. 2. join group with correct host addr and wrong multicast addr
  1190. 3. join group with wrong host addr and correct multicast addr
  1191. 4. join group with wrong host addr and wrong multicast addr'
  1192. sub module: IGMP
  1193. summary: softAP IGMP join group address check
  1194. test environment: SSC_T1_1
  1195. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1196. PC has 1 WiFi NIC.
  1197. 1 SSC target connect with PC by UART.'
  1198. test point 1: basic function
  1199. test point 2: IGMP API parameter check
  1200. version: v1 (2016-8-15)
  1201. - CI ready: 'Yes'
  1202. ID: TCPIP_IGMP_0104
  1203. SDK: '8266_NonOS
  1204. 8266_RTOS
  1205. ESP32_IDF'
  1206. Test App: SSC
  1207. allow fail: ''
  1208. auto test: 'Yes'
  1209. category: Function
  1210. cmd set:
  1211. - ''
  1212. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  1213. - ['R SSC1 C +IGMP:OK']
  1214. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
  1215. - ['R SSC1 C +IGMP:ERROR']
  1216. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
  1217. - ['R SSC1 C +IGMP:ERROR']
  1218. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
  1219. - ['R SSC1 C +IGMP:ERROR']
  1220. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  1221. - ['R SSC1 C +IGMP:OK']
  1222. comment: ''
  1223. execution time: 0.0
  1224. expected result: '1. success
  1225. 2. failed
  1226. 3. failed
  1227. 4. failed
  1228. 5. succeed'
  1229. initial condition: APM2
  1230. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  1231. a TC with initial condition APSTA2
  1232. level: Integration
  1233. module: TCPIP
  1234. steps: '1. join group with correct host addr and multicast addr
  1235. 2. leave group with correct host addr and wrong multicast addr
  1236. 3. leave group with wrong host addr and correct multicast addr
  1237. 4. leave group with wrong host addr and wrong multicast addr
  1238. 5. leave group with correct host addr and correct multicast addr'
  1239. sub module: IGMP
  1240. summary: softAP IGMP leave group address check
  1241. test environment: SSC_T1_1
  1242. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1243. PC has 1 WiFi NIC.
  1244. 1 SSC target connect with PC by UART.'
  1245. test point 1: basic function
  1246. test point 2: IGMP API parameter check
  1247. version: v1 (2016-8-15)
  1248. - CI ready: 'Yes'
  1249. ID: TCPIP_IGMP_0201
  1250. SDK: '8266_NonOS
  1251. 8266_RTOS
  1252. ESP32_IDF'
  1253. Test App: SSC
  1254. allow fail: ''
  1255. auto test: 'Yes'
  1256. category: Function
  1257. cmd set:
  1258. - ''
  1259. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  1260. - ['R SSC1 C +IGMP:OK']
  1261. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  1262. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  1263. - - SOC SOC1 BIND <test_udp_port1>
  1264. - [R SOC_COM L OK]
  1265. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  1266. - [R SSC1 SL <sock1>+1]
  1267. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  1268. - ['R SSC1 C +IGMP:OK']
  1269. comment: ''
  1270. execution time: 0.0
  1271. expected result: '1. succeed
  1272. 2. succeed
  1273. 3. able to recv packet'
  1274. initial condition: STAM2
  1275. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1276. TC with initial condition STAAP2
  1277. level: Integration
  1278. module: TCPIP
  1279. steps: '1. join group
  1280. 2. create UDP socket using multicast addr
  1281. 3. PC send UDP packet to multicast addr'
  1282. sub module: IGMP
  1283. summary: station IGMP recv packets
  1284. test environment: SSC_T1_1
  1285. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1286. PC has 1 WiFi NIC.
  1287. 1 SSC target connect with PC by UART.'
  1288. test point 1: basic function
  1289. test point 2: IGMP send/recv test
  1290. version: v1 (2016-8-15)
  1291. - CI ready: 'Yes'
  1292. ID: TCPIP_IGMP_0202
  1293. SDK: '8266_NonOS
  1294. 8266_RTOS
  1295. ESP32_IDF'
  1296. Test App: SSC
  1297. allow fail: ''
  1298. auto test: 'Yes'
  1299. category: Function
  1300. cmd set:
  1301. - ''
  1302. - - SSC SSC2 op -S -o 1
  1303. - ['R SSC2 C +MODE:OK']
  1304. - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
  1305. - ['R SSC2 C +JAP:CONNECTED']
  1306. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  1307. - ['R SSC1 C +IGMP:OK']
  1308. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  1309. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  1310. - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
  1311. - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
  1312. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  1313. - [R SSC1 SL <sock1>+1]
  1314. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  1315. - ['R SSC1 C +IGMP:OK']
  1316. comment: ''
  1317. execution time: 0.0
  1318. expected result: '1. succeed
  1319. 2. succeed
  1320. 3. succeed
  1321. 4. target1 recv multicast packet'
  1322. initial condition: STAM2
  1323. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1324. TC with initial condition STAAP2
  1325. level: Integration
  1326. module: TCPIP
  1327. steps: '1. target2 set to sta mode and join AP
  1328. 2. target1 join group and create UDP socket using multicast addr
  1329. 3. target2 create UDP socket
  1330. 4. target2 send to multicast addr'
  1331. sub module: IGMP
  1332. summary: station send multicast packets
  1333. test environment: SSC_T2_1
  1334. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  1335. PC has 1 WiFi NIC.
  1336. 2 SSC target connect with PC by UART.'
  1337. test point 1: basic function
  1338. test point 2: IGMP send/recv test
  1339. version: v1 (2016-8-15)
  1340. - CI ready: 'Yes'
  1341. ID: TCPIP_IGMP_0203
  1342. SDK: '8266_NonOS
  1343. 8266_RTOS
  1344. ESP32_IDF'
  1345. Test App: SSC
  1346. allow fail: ''
  1347. auto test: 'Yes'
  1348. category: Function
  1349. cmd set:
  1350. - ''
  1351. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  1352. - ['R SSC1 C +IGMP:OK']
  1353. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  1354. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1355. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  1356. - [R SOC_COM L OK]
  1357. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  1358. - [R SSC1 SL <sock1>+1]
  1359. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  1360. - ['R SSC1 C +IGMP:OK']
  1361. comment: ''
  1362. execution time: 0.0
  1363. expected result: '1. succeed
  1364. 2. succeed
  1365. 3. able to recv packet'
  1366. initial condition: APM2
  1367. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  1368. a TC with initial condition APSTA2
  1369. level: Integration
  1370. module: TCPIP
  1371. steps: '1. join group
  1372. 2. create UDP socket using multicast addr
  1373. 3. PC send UDP packet to multicast addr'
  1374. sub module: IGMP
  1375. summary: softAP IGMP recv packets
  1376. test environment: SSC_T1_1
  1377. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1378. PC has 1 WiFi NIC.
  1379. 1 SSC target connect with PC by UART.'
  1380. test point 1: basic function
  1381. test point 2: IGMP send/recv test
  1382. version: v1 (2016-8-15)
  1383. - CI ready: 'Yes'
  1384. ID: TCPIP_IGMP_0204
  1385. SDK: '8266_NonOS
  1386. 8266_RTOS
  1387. ESP32_IDF'
  1388. Test App: SSC
  1389. allow fail: ''
  1390. auto test: 'Yes'
  1391. category: Function
  1392. cmd set:
  1393. - ''
  1394. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  1395. - ['R SSC2 C +JAP:CONNECTED']
  1396. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  1397. - ['R SSC1 C +IGMP:OK']
  1398. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  1399. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  1400. - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
  1401. - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
  1402. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  1403. - [R SSC1 SL <sock1>+1]
  1404. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  1405. - ['R SSC1 C +IGMP:OK']
  1406. comment: ''
  1407. execution time: 0.0
  1408. expected result: '1. succeed
  1409. 2. succeed
  1410. 3. succeed
  1411. 4. target1 recv multicast packet'
  1412. initial condition: T2_1
  1413. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  1414. autogen a TC with initial condition T2_2
  1415. level: Integration
  1416. module: TCPIP
  1417. steps: '1. target2 join SoftAP
  1418. 2. target1 join group and create UDP socket using multicast addr
  1419. 3. target2 create UDP socket
  1420. 4. target2 send to multicast addr'
  1421. sub module: IGMP
  1422. summary: softAP send multicast packets
  1423. test environment: SSC_T2_1
  1424. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  1425. PC has 1 WiFi NIC.
  1426. 2 SSC target connect with PC by UART.'
  1427. test point 1: basic function
  1428. test point 2: IGMP send/recv test
  1429. version: v1 (2016-8-15)
  1430. - CI ready: 'Yes'
  1431. ID: TCPIP_IP_0101
  1432. SDK: '8266_NonOS
  1433. 8266_RTOS
  1434. ESP32_IDF'
  1435. Test App: SSC
  1436. allow fail: ''
  1437. auto test: 'Yes'
  1438. category: Function
  1439. cmd set:
  1440. - ''
  1441. - - SSC SSC1 dhcp -S -o 1
  1442. - ['R SSC1 C +DHCP:STA,OK']
  1443. - - SSC SSC1 ip -S -o 1 -i 192.168.123.123
  1444. - ['R SSC1 C +IP:ERROR']
  1445. - - SSC SSC1 dhcp -E -o 1
  1446. - ['R SSC1 C +DHCP:STA,OK']
  1447. - - SSC SSC1 ip -S -o 1 -i 192.168.123.123
  1448. - ['R SSC1 C +IP:OK']
  1449. - - SSC SSC1 ip -Q -o 1
  1450. - ['R SSC1 C +STAIP:192.168.123.123']
  1451. comment: ''
  1452. execution time: 0.0
  1453. expected result: '1.OK
  1454. 2.ERROR
  1455. 3.OK
  1456. 4.OK
  1457. 5.STAIP:192.168.123.123'
  1458. initial condition: STAM1
  1459. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  1460. TC with initial condition STAAP1
  1461. level: Integration
  1462. module: TCPIP
  1463. steps: '1.target1 打开DHCP 1
  1464. 2.target1 设置sta ip 192.168.123.123
  1465. 4.target1 关闭DHCP 1
  1466. 5.target1 设置sta ip 192.168.123.123
  1467. 6.target1 查询 当前sta ip '
  1468. sub module: IP
  1469. summary: sta set and query static ip test
  1470. test environment: SSC_T1_1
  1471. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1472. PC has 1 WiFi NIC.
  1473. 1 SSC target connect with PC by UART.'
  1474. test point 1: basic function
  1475. test point 2: set and query static IP
  1476. version: v1 (2016-8-15)
  1477. - CI ready: 'Yes'
  1478. ID: TCPIP_IP_0102
  1479. SDK: '8266_NonOS
  1480. 8266_RTOS
  1481. ESP32_IDF'
  1482. Test App: SSC
  1483. allow fail: ''
  1484. auto test: 'Yes'
  1485. category: Function
  1486. cmd set:
  1487. - ''
  1488. - - SSC SSC1 dhcp -S -o 2
  1489. - ['R SSC1 C +DHCP:AP,OK']
  1490. - - SSC SSC1 ip -S -o 2 -i 192.168.123.123
  1491. - ['R SSC1 C +IP:ERROR']
  1492. - - SSC SSC1 dhcp -E -o 2
  1493. - ['R SSC1 C +DHCP:AP,OK']
  1494. - - SSC SSC1 ip -S -o 2 -i 192.168.123.123
  1495. - ['R SSC1 C +IP:OK']
  1496. - - SSC SSC1 ip -Q -o 2
  1497. - ['R SSC1 C +APIP:192.168.123.123']
  1498. - - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
  1499. - ['R SSC1 C +IP:OK']
  1500. comment: ''
  1501. execution time: 0.0
  1502. expected result: '1.OK
  1503. 2.ERROR
  1504. 3.OK
  1505. 4.OK
  1506. 5.APIP:192.168.123.123
  1507. 6.OK'
  1508. initial condition: APM1
  1509. initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
  1510. condition APSTA1
  1511. level: Integration
  1512. module: TCPIP
  1513. steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n4.target1 关闭DHCP\
  1514. \ 2\n5.target1 设置softAP ip 192.168.123.123\n6.target1 查询 当前sta ip \n7.target1\
  1515. \ 设置softAP ip 为target_ap_ip"
  1516. sub module: IP
  1517. summary: ap set and query static ip test
  1518. test environment: SSC_T1_1
  1519. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1520. PC has 1 WiFi NIC.
  1521. 1 SSC target connect with PC by UART.'
  1522. test point 1: basic function
  1523. test point 2: set and query static IP
  1524. version: v1 (2016-8-15)
  1525. - CI ready: 'Yes'
  1526. ID: TCPIP_TCP_0101
  1527. SDK: '8266_NonOS
  1528. 8266_RTOS
  1529. ESP32_IDF'
  1530. Test App: SSC
  1531. allow fail: ''
  1532. auto test: 'Yes'
  1533. category: Function
  1534. cmd set:
  1535. - ''
  1536. - - SOC SOC1 LISTEN <test_tcp_port1>
  1537. - [SOCR SOC_COM L OK]
  1538. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  1539. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1540. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  1541. - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
  1542. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  1543. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  1544. - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
  1545. - ['P SSC1 RE CONNECT:\d+,ERROR']
  1546. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
  1547. - ['P SSC1 RE CONNECT:\d+,ERROR']
  1548. comment: ''
  1549. execution time: 0.0
  1550. expected result: '1.OK
  1551. 2.OK
  1552. 3.OK; PC TCP server accept 成功
  1553. 4.OK
  1554. 5.ERROR
  1555. 6.ERROR'
  1556. initial condition: STAM2
  1557. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1558. TC with initial condition STAAP2
  1559. level: Integration
  1560. module: TCPIP
  1561. steps: '1.PC上建立TCP 监听 test_tcp_port1
  1562. 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  1563. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  1564. 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  1565. 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
  1566. 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
  1567. sub module: TCP
  1568. summary: STA mode, connect test. use different ip, port
  1569. test environment: SSC_T1_1
  1570. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1571. PC has 1 WiFi NIC.
  1572. 1 SSC target connect with PC by UART.'
  1573. test point 1: basic function
  1574. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1575. version: v1 (2016-8-15)
  1576. - CI ready: 'Yes'
  1577. ID: TCPIP_TCP_0102
  1578. SDK: '8266_NonOS
  1579. 8266_RTOS
  1580. ESP32_IDF'
  1581. Test App: SSC
  1582. allow fail: ''
  1583. auto test: 'Yes'
  1584. category: Function
  1585. cmd set:
  1586. - ''
  1587. - - SSC SSC1 soc -B -t TCP -p <random_port>
  1588. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1589. - - SSC SSC1 soc -L -s <sock1>
  1590. - ['R SSC1 RE LISTEN:\d+,OK']
  1591. - - SOC SOC1 CONNECT <random_port> <target_ip>
  1592. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
  1593. - - SOC SOC1 CONNECT <test_tcp_port2> <target_ip>
  1594. - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
  1595. comment: ''
  1596. execution time: 0.0
  1597. expected result: '1.OK
  1598. 2.OK
  1599. 3.PC TCP client accept
  1600. 4.error'
  1601. initial condition: STAM2
  1602. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1603. TC with initial condition STAAP2
  1604. level: Integration
  1605. module: TCPIP
  1606. steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
  1607. 2.target1上使用步骤1创建的socket,创建TCP 监听
  1608. 3.PC TCP 连接到target1 <random_port>,<target_ip>
  1609. 4.PC tcp 连接到不存在的port ,<target_ip>'
  1610. sub module: TCP
  1611. summary: STA mode, server listen test. use different kinds of port
  1612. test environment: SSC_T1_1
  1613. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1614. PC has 1 WiFi NIC.
  1615. 1 SSC target connect with PC by UART.'
  1616. test point 1: basic function
  1617. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1618. version: v1 (2016-8-15)
  1619. - CI ready: 'Yes'
  1620. ID: TCPIP_TCP_0103
  1621. SDK: '8266_NonOS
  1622. 8266_RTOS
  1623. ESP32_IDF'
  1624. Test App: SSC
  1625. allow fail: ''
  1626. auto test: 'Yes'
  1627. category: Function
  1628. cmd set:
  1629. - ''
  1630. - - SOC SOC1 LISTEN <test_tcp_port1>
  1631. - [R SOC_COM L OK]
  1632. - - SSC SSC1 soc -B -t TCP
  1633. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1634. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  1635. - ['R SSC1 RE CONNECT:\d+,OK']
  1636. - - SOC SOC1 ACCEPT SOC2
  1637. - [R SOC_COM L OK]
  1638. - - SOC SOC2 SEND 5
  1639. - [R SSC1 SL <sock1>+5]
  1640. - - SSC SSC1 soc -S -s <sock1> -l 5
  1641. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
  1642. - - SOC SOC2 SEND 146000
  1643. - [R SSC1 SL <sock1>+146000]
  1644. - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
  1645. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
  1646. comment: ''
  1647. execution time: 0.0
  1648. expected result: '1.OK
  1649. 2.OK
  1650. 3.OK,pc上回accept
  1651. 4.OK
  1652. 5.target收到5 byte
  1653. 6.PC收到5 byte
  1654. 7.target收到 146000 byte
  1655. 8.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数'
  1656. initial condition: STAM2
  1657. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1658. TC with initial condition STAAP2
  1659. level: Integration
  1660. module: TCPIP
  1661. steps: '1. PC上建立TCP 监听 test_tcp_port1
  1662. 2.target1上创建TCP socket
  1663. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  1664. 4.PC与target1 创建好TCP 连接,有ACCEPT
  1665. 5.PC send 5 bytes to 8266
  1666. 6.8266 send 5 bytes to PC
  1667. 7. PC send 100 * 1460 data to 8266,
  1668. 8.8266 send 100 * 1460 to PC. '
  1669. sub module: TCP
  1670. summary: STA mode, send/recv basic test
  1671. test environment: SSC_T1_1
  1672. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1673. PC has 1 WiFi NIC.
  1674. 1 SSC target connect with PC by UART.'
  1675. test point 1: basic function
  1676. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1677. version: v1 (2016-8-15)
  1678. - CI ready: 'Yes'
  1679. ID: TCPIP_TCP_0104
  1680. SDK: '8266_NonOS
  1681. 8266_RTOS
  1682. ESP32_IDF'
  1683. Test App: SSC
  1684. allow fail: ''
  1685. auto test: 'Yes'
  1686. category: Function
  1687. cmd set:
  1688. - ''
  1689. - - SOC SOC1 LISTEN <test_tcp_port1>
  1690. - [R SOC_COM L OK]
  1691. - - SSC SSC1 soc -B -t TCP
  1692. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1693. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  1694. - ['R SSC1 RE CONNECT:\d+,OK']
  1695. - - SSC SSC1 soc -D -s <sock1> -h B
  1696. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  1697. - - SSC SSC1 soc -B -t TCP
  1698. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  1699. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  1700. - ['R SSC1 RE CONNECT:\d+,OK']
  1701. - - SSC SSC1 soc -D -s <sock2> -h W
  1702. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  1703. - - SSC SSC1 soc -B -t TCP
  1704. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  1705. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  1706. - ['R SSC1 RE CONNECT:\d+,OK']
  1707. - - SSC SSC1 soc -D -s <sock3> -h R
  1708. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  1709. comment: ''
  1710. execution time: 0.0
  1711. expected result: '1.OK
  1712. 2.OK
  1713. 3.OK,pc tcp server accept OK
  1714. 4.OK
  1715. 5.OK
  1716. 6.OK,pc tcp server accept OK
  1717. 7.OK
  1718. 8.OK
  1719. 9.OK,pc tcp server accept OK
  1720. 10.OK'
  1721. initial condition: STAM2
  1722. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1723. TC with initial condition STAAP2
  1724. level: Integration
  1725. module: TCPIP
  1726. steps: '1. PC上建立TCP 监听 test_tcp_port1
  1727. 2.target1上创建TCP socket
  1728. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  1729. 4.target1 shutdown socket1 B
  1730. 5.target1上创建TCP socket
  1731. 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  1732. 7.target1 shutdown socket2 W
  1733. 8.target1上创建TCP socket
  1734. 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  1735. 10.target1 shutdown socket3 R'
  1736. sub module: TCP
  1737. summary: STA mode, shutdown basic test
  1738. test environment: SSC_T1_1
  1739. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1740. PC has 1 WiFi NIC.
  1741. 1 SSC target connect with PC by UART.'
  1742. test point 1: basic function
  1743. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1744. version: v1 (2016-8-15)
  1745. - CI ready: 'Yes'
  1746. ID: TCPIP_TCP_0105
  1747. SDK: '8266_NonOS
  1748. 8266_RTOS
  1749. ESP32_IDF'
  1750. Test App: SSC
  1751. allow fail: ''
  1752. auto test: 'Yes'
  1753. category: Function
  1754. cmd set:
  1755. - ''
  1756. - - SOC SOC1 LISTEN <test_tcp_port1>
  1757. - [R SOC_COM L OK]
  1758. - - SSC SSC1 soc -B -t TCP
  1759. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1760. - - SSC SSC1 soc -T -s <sock1>
  1761. - ['R SSC1 RE CLOSE:\d+,OK']
  1762. - - SSC SSC1 soc -B -t TCP -p <random_port>
  1763. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1764. - - SSC SSC1 soc -L -s <sock1>
  1765. - ['R SSC1 RE LISTEN:\d+,OK']
  1766. - - SOC SOC2 CONNECT <random_port> <target_ip>
  1767. - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
  1768. - - SSC SSC1 soc -T -s <sock2>
  1769. - ['R SSC1 RE CLOSE:\d+,OK']
  1770. - - SSC SSC1 soc -T -s <sock1>
  1771. - ['R SSC1 RE CLOSE:\d+,OK']
  1772. - - SSC SSC1 soc -B -t TCP
  1773. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1774. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  1775. - ['R SSC1 RE CONNECT:\d+,OK']
  1776. - - SSC SSC1 soc -T -s <sock1>
  1777. - ['R SSC1 RE CLOSE:\d+,OK']
  1778. - - SSC SSC1 soc -B -t TCP
  1779. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1780. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  1781. - ['R SSC1 RE CONNECT:\d+,OK']
  1782. - - SSC SSC1 soc -D -s <sock1>
  1783. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  1784. - - SSC SSC1 soc -T -s <sock1>
  1785. - ['R SSC1 RE CLOSE:\d+,OK']
  1786. comment: ''
  1787. execution time: 0.0
  1788. expected result: '1.OK
  1789. 2.OK
  1790. 3.OK
  1791. 4.OK
  1792. 5.OK
  1793. 6.OK
  1794. 7.target1关闭socket1
  1795. 8.target1关闭socket2
  1796. 9.OK
  1797. 10.OK,pc tcp server accept成功
  1798. 11.target1关闭socket1
  1799. 12.OK
  1800. 13.OK,pc tcp server accept成功
  1801. 14.OK
  1802. 15.target1关闭socket1'
  1803. initial condition: STAM2
  1804. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1805. TC with initial condition STAAP2
  1806. level: Integration
  1807. module: TCPIP
  1808. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
  1809. 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
  1810. \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
  1811. 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
  1812. 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
  1813. \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
  1814. sub module: TCP
  1815. summary: STA mode, close for different types of TCP sockets test
  1816. test environment: SSC_T1_1
  1817. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1818. PC has 1 WiFi NIC.
  1819. 1 SSC target connect with PC by UART.'
  1820. test point 1: basic function
  1821. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1822. version: v1 (2016-8-15)
  1823. - CI ready: 'Yes'
  1824. ID: TCPIP_TCP_0106
  1825. SDK: '8266_NonOS
  1826. 8266_RTOS
  1827. ESP32_IDF'
  1828. Test App: SSC
  1829. allow fail: ''
  1830. auto test: 'Yes'
  1831. category: Function
  1832. cmd set:
  1833. - ''
  1834. - - SOC SOC1 LISTEN <test_tcp_port1>
  1835. - [R SOC_COM L OK]
  1836. - - SSC SSC1 soc -B -t TCP
  1837. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1838. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  1839. - ['R SSC1 RE CONNECT:\d+,OK']
  1840. - - SSC SSC1 soc -B -t TCP
  1841. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  1842. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  1843. - ['R SSC1 RE CONNECT:\d+,OK']
  1844. - - SSC SSC1 soc -B -t TCP
  1845. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  1846. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  1847. - ['R SSC1 RE CONNECT:\d+,OK']
  1848. - - SSC SSC1 soc -B -t TCP
  1849. - ['R SSC1 A <sock4>:BIND:(\d+),OK']
  1850. - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
  1851. - ['R SSC1 RE CONNECT:\d+,OK']
  1852. - - SSC SSC1 soc -B -t TCP
  1853. - ['R SSC1 A <sock5>:BIND:(\d+),OK']
  1854. - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
  1855. - ['R SSC1 RE CONNECT:\d+,OK']
  1856. comment: ''
  1857. execution time: 0.0
  1858. expected result: '1.OK
  1859. 2.OK
  1860. 3.OK,pc tcp server accept成功
  1861. 4 OK
  1862. 5.OK,pc tcp server accept成功
  1863. 6.OK
  1864. 7.OK,pc tcp server accept成功
  1865. 8 OK
  1866. 9.OK,pc tcp server accept成功
  1867. 10.OK
  1868. 11.OK,pc tcp server accept成功'
  1869. initial condition: STAM2
  1870. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1871. TC with initial condition STAAP2
  1872. level: Integration
  1873. module: TCPIP
  1874. steps: '1.PC上建立TCP 监听 test_tcp_port1
  1875. 2.target1上创建TCP socket1
  1876. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  1877. 4.target1上创建TCP socket2
  1878. 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  1879. 6.target1上创建TCP socket3
  1880. 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  1881. 8.target1上创建TCP socket4
  1882. 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  1883. 10.target1上创建TCP socket5
  1884. 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
  1885. sub module: TCP
  1886. summary: STA mode, create max TCP sockets test
  1887. test environment: SSC_T1_1
  1888. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1889. PC has 1 WiFi NIC.
  1890. 1 SSC target connect with PC by UART.'
  1891. test point 1: basic function
  1892. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1893. version: v1 (2016-8-15)
  1894. - CI ready: 'Yes'
  1895. ID: TCPIP_TCP_0107
  1896. SDK: '8266_NonOS
  1897. 8266_RTOS
  1898. ESP32_IDF'
  1899. Test App: SSC
  1900. allow fail: ''
  1901. auto test: 'Yes'
  1902. category: Function
  1903. cmd set:
  1904. - ''
  1905. - - SSC SSC1 soc -B -t TCP -p <random_port>
  1906. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1907. - - SSC SSC1 soc -L -s <sock1>
  1908. - ['R SSC1 RE LISTEN:\d+,OK']
  1909. - - SOC SOC2 CONNECT <random_port> <target_ip>
  1910. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  1911. - - SOC SOC3 CONNECT <random_port> <target_ip>
  1912. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  1913. - - SOC SOC4 CONNECT <random_port> <target_ip>
  1914. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  1915. - - SOC SOC5 CONNECT <random_port> <target_ip>
  1916. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  1917. - - SOC SOC6 CONNECT <random_port> <target_ip>
  1918. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  1919. comment: ''
  1920. execution time: 0.0
  1921. expected result: '1.+BIND:0,OK,0.0.0.0
  1922. 2.OK
  1923. 3.OK,pc tcp server accept成功
  1924. 4.OK,pc tcp server accept成功
  1925. 5.OK,pc tcp server accept成功
  1926. 6.OK,pc tcp server accept成功
  1927. 7.OK,pc tcp server accept成功'
  1928. initial condition: STAM2
  1929. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  1930. TC with initial condition STAAP2
  1931. level: Integration
  1932. module: TCPIP
  1933. steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
  1934. \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
  1935. \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
  1936. \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6\
  1937. \ "
  1938. sub module: TCP
  1939. summary: STA mode, accept max TCP client by server test
  1940. test environment: SSC_T1_1
  1941. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1942. PC has 1 WiFi NIC.
  1943. 1 SSC target connect with PC by UART.'
  1944. test point 1: basic function
  1945. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1946. version: v1 (2016-8-15)
  1947. - CI ready: 'Yes'
  1948. ID: TCPIP_TCP_0110
  1949. SDK: '8266_NonOS
  1950. 8266_RTOS
  1951. ESP32_IDF'
  1952. Test App: SSC
  1953. allow fail: ''
  1954. auto test: 'Yes'
  1955. category: Function
  1956. cmd set:
  1957. - ''
  1958. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  1959. - [SOCR SOC_COM L OK]
  1960. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  1961. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  1962. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  1963. - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
  1964. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  1965. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  1966. - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
  1967. - ['P SSC1 RE CONNECT:\d+,ERROR']
  1968. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port2>
  1969. - ['P SSC1 RE CONNECT:\d+,ERROR']
  1970. comment: ''
  1971. execution time: 0.0
  1972. expected result: '1.OK
  1973. 2.OK
  1974. 3.OK; PC TCP server accept 成功
  1975. 4.OK
  1976. 5.ERROR
  1977. 6.ERROR'
  1978. initial condition: APM2
  1979. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  1980. a TC with initial condition APSTA2
  1981. level: Integration
  1982. module: TCPIP
  1983. steps: '1.PC上建立TCP 监听 test_tcp_port1
  1984. 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  1985. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  1986. 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  1987. 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
  1988. 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
  1989. sub module: TCP
  1990. summary: AP mode, connect test. use different ip, port
  1991. test environment: SSC_T1_1
  1992. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  1993. PC has 1 WiFi NIC.
  1994. 1 SSC target connect with PC by UART.'
  1995. test point 1: basic function
  1996. test point 2: use TCP SAP (socket/espconn API) with different parameter
  1997. version: v1 (2016-8-15)
  1998. - CI ready: 'Yes'
  1999. ID: TCPIP_TCP_0111
  2000. SDK: '8266_NonOS
  2001. 8266_RTOS
  2002. ESP32_IDF'
  2003. Test App: SSC
  2004. allow fail: ''
  2005. auto test: 'Yes'
  2006. category: Function
  2007. cmd set:
  2008. - ''
  2009. - - SSC SSC1 soc -B -t TCP -p <random_port>
  2010. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2011. - - SSC SSC1 soc -L -s <sock1>
  2012. - ['R SSC1 RE LISTEN:\d+,OK']
  2013. - - SOC SOC1 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2014. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
  2015. - - SOC SOC1 CONNECT <test_tcp_port2> <target_ap_ip> 0 <pc_ip_wifi>
  2016. - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
  2017. comment: ''
  2018. execution time: 0.0
  2019. expected result: '1.OK
  2020. 2.OK
  2021. 3.PC TCP client accept
  2022. 4.error'
  2023. initial condition: APM2
  2024. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2025. a TC with initial condition APSTA2
  2026. level: Integration
  2027. module: TCPIP
  2028. steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
  2029. 2.target1上使用步骤1创建的socket,创建TCP 监听
  2030. 3.PC TCP 连接到target1 <random_port>,<target_ip>
  2031. 4.PC tcp 连接到不存在的port ,<target_ip>'
  2032. sub module: TCP
  2033. summary: AP mode, server listen test. use different kinds of port
  2034. test environment: SSC_T1_1
  2035. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2036. PC has 1 WiFi NIC.
  2037. 1 SSC target connect with PC by UART.'
  2038. test point 1: basic function
  2039. test point 2: use TCP SAP (socket/espconn API) with different parameter
  2040. version: v1 (2016-8-15)
  2041. - CI ready: 'Yes'
  2042. ID: TCPIP_TCP_0112
  2043. SDK: '8266_NonOS
  2044. 8266_RTOS
  2045. ESP32_IDF'
  2046. Test App: SSC
  2047. allow fail: ''
  2048. auto test: 'Yes'
  2049. category: Function
  2050. cmd set:
  2051. - ''
  2052. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2053. - [R SOC_COM L OK]
  2054. - - SSC SSC1 soc -B -t TCP
  2055. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2056. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2057. - ['R SSC1 RE CONNECT:\d+,OK']
  2058. - - SOC SOC1 ACCEPT SOC2
  2059. - [R SOC_COM L OK]
  2060. - - SOC SOC2 SEND 5
  2061. - [R SSC1 SL <sock1>+5]
  2062. - - SSC SSC1 soc -S -s <sock1> -l 5
  2063. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
  2064. - - SOC SOC2 SEND 146000
  2065. - [R SSC1 SL <sock1>+146000]
  2066. - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
  2067. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
  2068. comment: ''
  2069. execution time: 0.0
  2070. expected result: '1.OK
  2071. 2.OK
  2072. 3.OK,pc tcp server accept成功
  2073. 4.OK
  2074. 5.target收到5byte数据
  2075. 6.PC收到5byte数据
  2076. 7.target收到146000 byte数据
  2077. 8.OK,PC 收到146000 byte数据'
  2078. initial condition: APM2
  2079. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2080. a TC with initial condition APSTA2
  2081. level: Integration
  2082. module: TCPIP
  2083. steps: '1. PC上建立TCP 监听 test_tcp_port1
  2084. 2.target1上创建TCP socket
  2085. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  2086. 4.PC与target1 创建好TCP 连接,有ACCEPT
  2087. 5.PC send 5 bytes to 8266
  2088. 6.8266 send 5 bytes to PC
  2089. 7. PC send 100 * 1460 data to 8266,
  2090. 8.8266 send 100 * 1460 to PC. '
  2091. sub module: TCP
  2092. summary: AP mode, send/recv basic test
  2093. test environment: SSC_T1_1
  2094. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2095. PC has 1 WiFi NIC.
  2096. 1 SSC target connect with PC by UART.'
  2097. test point 1: basic function
  2098. test point 2: use TCP SAP (socket/espconn API) with different parameter
  2099. version: v1 (2016-8-15)
  2100. - CI ready: 'Yes'
  2101. ID: TCPIP_TCP_0113
  2102. SDK: '8266_NonOS
  2103. 8266_RTOS
  2104. ESP32_IDF'
  2105. Test App: SSC
  2106. allow fail: ''
  2107. auto test: 'Yes'
  2108. category: Function
  2109. cmd set:
  2110. - ''
  2111. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2112. - [R SOC_COM L OK]
  2113. - - SSC SSC1 soc -B -t TCP
  2114. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2115. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2116. - ['R SSC1 RE CONNECT:\d+,OK']
  2117. - - SSC SSC1 soc -D -s <sock1> -h B
  2118. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2119. - - SSC SSC1 soc -B -t TCP
  2120. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2121. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  2122. - ['R SSC1 RE CONNECT:\d+,OK']
  2123. - - SSC SSC1 soc -D -s <sock2> -h W
  2124. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2125. - - SSC SSC1 soc -B -t TCP
  2126. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  2127. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  2128. - ['R SSC1 RE CONNECT:\d+,OK']
  2129. - - SSC SSC1 soc -D -s <sock3> -h R
  2130. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2131. comment: ''
  2132. execution time: 0.0
  2133. expected result: '1.OK
  2134. 2.OK
  2135. 3.OK,pc tcp server accept成功
  2136. 4.OK
  2137. 5.OK
  2138. 6.OK,pc tcp server accept成功
  2139. 7.OK
  2140. 8.OK
  2141. 9.OK,pc tcp server accept成功
  2142. 10.OK'
  2143. initial condition: APM2
  2144. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2145. a TC with initial condition APSTA2
  2146. level: Integration
  2147. module: TCPIP
  2148. steps: '1. PC上建立TCP 监听 test_tcp_port1
  2149. 2.target1上创建TCP socket
  2150. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  2151. 4.target1 shutdown socket1 B
  2152. 5.target1上创建TCP socket
  2153. 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  2154. 7.target1 shutdown socket2 W
  2155. 8.target1上创建TCP socket
  2156. 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  2157. 10.target1 shutdown socket3 R'
  2158. sub module: TCP
  2159. summary: AP mode, shutdown basic test
  2160. test environment: SSC_T1_1
  2161. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2162. PC has 1 WiFi NIC.
  2163. 1 SSC target connect with PC by UART.'
  2164. test point 1: basic function
  2165. test point 2: use TCP SAP (socket/espconn API) with different parameter
  2166. version: v1 (2016-8-15)
  2167. - CI ready: 'Yes'
  2168. ID: TCPIP_TCP_0114
  2169. SDK: '8266_NonOS
  2170. 8266_RTOS
  2171. ESP32_IDF'
  2172. Test App: SSC
  2173. allow fail: ''
  2174. auto test: 'Yes'
  2175. category: Function
  2176. cmd set:
  2177. - ''
  2178. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2179. - [R SOC_COM L OK]
  2180. - - SSC SSC1 soc -B -t TCP
  2181. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2182. - - SSC SSC1 soc -T -s <sock1>
  2183. - ['R SSC1 RE CLOSE:\d+,OK']
  2184. - - SSC SSC1 soc -B -t TCP -p <random_port>
  2185. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2186. - - SSC SSC1 soc -L -s <sock1>
  2187. - ['R SSC1 RE LISTEN:\d+,OK']
  2188. - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2189. - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
  2190. - - SSC SSC1 soc -T -s <sock2>
  2191. - ['R SSC1 RE CLOSE:\d+,OK']
  2192. - - SSC SSC1 soc -T -s <sock1>
  2193. - ['R SSC1 RE CLOSE:\d+,OK']
  2194. - - SSC SSC1 soc -B -t TCP
  2195. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2196. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2197. - ['R SSC1 RE CONNECT:\d+,OK']
  2198. - - SSC SSC1 soc -T -s <sock1>
  2199. - ['R SSC1 RE CLOSE:\d+,OK']
  2200. - - SSC SSC1 soc -B -t TCP
  2201. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2202. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2203. - ['R SSC1 RE CONNECT:\d+,OK']
  2204. - - SSC SSC1 soc -D -s <sock1>
  2205. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2206. - - SSC SSC1 soc -T -s <sock1>
  2207. - ['R SSC1 RE CLOSE:\d+,OK']
  2208. comment: ''
  2209. execution time: 0.0
  2210. expected result: '1.OK
  2211. 2.OK
  2212. 3.OK
  2213. 4.OK
  2214. 5.OK
  2215. 6.OK,target1上accept 成功
  2216. 7.target1关闭socket1
  2217. 8.target1关闭socket2
  2218. 9.OK
  2219. 10.OK,pc tcp server accept成功
  2220. 11.target1关闭socket1
  2221. 12.OK
  2222. 13.OK,pc tcp server accept成功
  2223. 14.OK
  2224. 15.target1关闭socket1'
  2225. initial condition: APM2
  2226. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2227. a TC with initial condition APSTA2
  2228. level: Integration
  2229. module: TCPIP
  2230. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
  2231. 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
  2232. \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
  2233. 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
  2234. 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
  2235. \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
  2236. sub module: TCP
  2237. summary: AP mode, close for different types of TCP sockets test
  2238. test environment: SSC_T1_1
  2239. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2240. PC has 1 WiFi NIC.
  2241. 1 SSC target connect with PC by UART.'
  2242. test point 1: basic function
  2243. test point 2: use TCP SAP (socket/espconn API) with different parameter
  2244. version: v1 (2016-8-15)
  2245. - CI ready: 'Yes'
  2246. ID: TCPIP_TCP_0115
  2247. SDK: '8266_NonOS
  2248. 8266_RTOS
  2249. ESP32_IDF'
  2250. Test App: SSC
  2251. allow fail: ''
  2252. auto test: 'Yes'
  2253. category: Function
  2254. cmd set:
  2255. - ''
  2256. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2257. - [R SOC_COM L OK]
  2258. - - SSC SSC1 soc -B -t TCP
  2259. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2260. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2261. - ['R SSC1 RE CONNECT:\d+,OK']
  2262. - - SSC SSC1 soc -B -t TCP
  2263. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2264. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  2265. - ['R SSC1 RE CONNECT:\d+,OK']
  2266. - - SSC SSC1 soc -B -t TCP
  2267. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  2268. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  2269. - ['R SSC1 RE CONNECT:\d+,OK']
  2270. - - SSC SSC1 soc -B -t TCP
  2271. - ['R SSC1 A <sock4>:BIND:(\d+),OK']
  2272. - - SSC SSC1 soc -C -s <sock4> -i <pc_ip_wifi> -p <test_tcp_port1>
  2273. - ['R SSC1 RE CONNECT:\d+,OK']
  2274. - - SSC SSC1 soc -B -t TCP
  2275. - ['R SSC1 A <sock5>:BIND:(\d+),OK']
  2276. - - SSC SSC1 soc -C -s <sock5> -i <pc_ip_wifi> -p <test_tcp_port1>
  2277. - ['R SSC1 RE CONNECT:\d+,OK']
  2278. comment: ''
  2279. execution time: 0.0
  2280. expected result: '1.OK
  2281. 2.OK
  2282. 3.OK,pc tcp server accept成功
  2283. 4 OK
  2284. 5.OK,pc tcp server accept成功
  2285. 6.OK
  2286. 7.OK,pc tcp server accept成功
  2287. 8 OK
  2288. 9.OK,pc tcp server accept成功
  2289. 10.OK
  2290. 11.OK,pc tcp server accept成功'
  2291. initial condition: APM2
  2292. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2293. a TC with initial condition APSTA2
  2294. level: Integration
  2295. module: TCPIP
  2296. steps: '1.PC上建立TCP 监听 test_tcp_port1
  2297. 2.target1上创建TCP socket1
  2298. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  2299. 4.target1上创建TCP socket2
  2300. 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  2301. 6.target1上创建TCP socket3
  2302. 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  2303. 8.target1上创建TCP socket4
  2304. 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  2305. 10.target1上创建TCP socket5
  2306. 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
  2307. sub module: TCP
  2308. summary: AP mode, create max TCP sockets test
  2309. test environment: SSC_T1_1
  2310. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2311. PC has 1 WiFi NIC.
  2312. 1 SSC target connect with PC by UART.'
  2313. test point 1: basic function
  2314. test point 2: use TCP SAP (socket/espconn API) with different parameter
  2315. version: v1 (2016-8-15)
  2316. - CI ready: 'Yes'
  2317. ID: TCPIP_TCP_0116
  2318. SDK: '8266_NonOS
  2319. 8266_RTOS
  2320. ESP32_IDF'
  2321. Test App: SSC
  2322. allow fail: ''
  2323. auto test: 'Yes'
  2324. category: Function
  2325. cmd set:
  2326. - ''
  2327. - - SSC SSC1 soc -B -t TCP -p <random_port>
  2328. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2329. - - SSC SSC1 soc -L -s <sock1>
  2330. - ['R SSC1 RE LISTEN:\d+,OK']
  2331. - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2332. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  2333. - - SOC SOC3 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2334. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  2335. - - SOC SOC4 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2336. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  2337. - - SOC SOC5 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2338. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  2339. - - SOC SOC6 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2340. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  2341. comment: ''
  2342. execution time: 0.0
  2343. expected result: '1.+BIND:0,OK,0.0.0.0
  2344. 2.OK
  2345. 3.OK,pc tcp server accept成功
  2346. 4.OK,pc tcp server accept成功
  2347. 5.OK,pc tcp server accept成功
  2348. 6.OK,pc tcp server accept成功
  2349. 7.OK,pc tcp server accept成功'
  2350. initial condition: APM2
  2351. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2352. a TC with initial condition APSTA2
  2353. level: Integration
  2354. module: TCPIP
  2355. steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
  2356. \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
  2357. \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
  2358. \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6\
  2359. \ "
  2360. sub module: TCP
  2361. summary: AP mode, accept max TCP client by server test
  2362. test environment: SSC_T1_1
  2363. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2364. PC has 1 WiFi NIC.
  2365. 1 SSC target connect with PC by UART.'
  2366. test point 1: basic function
  2367. test point 2: use TCP SAP (socket/espconn API) with different parameter
  2368. version: v1 (2016-8-15)
  2369. - CI ready: 'Yes'
  2370. ID: TCPIP_TCP_0201
  2371. SDK: '8266_NonOS
  2372. 8266_RTOS
  2373. ESP32_IDF'
  2374. Test App: SSC
  2375. allow fail: ''
  2376. auto test: 'Yes'
  2377. category: Function
  2378. cmd set:
  2379. - ''
  2380. - - SOC SOC1 LISTEN <test_tcp_port1>
  2381. - [SOCR SOC_COM L OK]
  2382. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
  2383. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2384. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  2385. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2386. - - SSC SSC1 soc -B -t TCP
  2387. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2388. - - SSC SSC1 soc -L -s <sock2>
  2389. - ['R SSC1 RE LISTEN:\d+,OK']
  2390. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  2391. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2392. - - SSC SSC1 soc -B -t TCP
  2393. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  2394. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  2395. - ['P SSC1 RE CONNECT:\d+,OK']
  2396. - - SSC SSC1 soc -D -s <sock3> -h B
  2397. - ['P SSC1 RE SHUTDOWN:\d+,OK']
  2398. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  2399. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2400. - - SSC SSC1 soc -T
  2401. - [R SSC1 C +CLOSEALL]
  2402. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  2403. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2404. comment: ''
  2405. execution time: 0.0
  2406. expected result: '1.ok
  2407. 2.OK
  2408. 3.ERROR
  2409. 4.OK
  2410. 5.OK
  2411. 6.ERROR
  2412. 7.OK
  2413. 8.OK
  2414. 9.OK
  2415. 10.OK
  2416. 11.OK
  2417. 12.ERROR'
  2418. initial condition: STAM2
  2419. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  2420. TC with initial condition STAAP2
  2421. level: Integration
  2422. module: TCPIP
  2423. steps: '1.PC上建立TCP 监听 test_tcp_port1
  2424. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  2425. 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
  2426. 4.target1上创建TCP socket
  2427. 5.target1上使用步骤4创建的socket,创建TCP 监听
  2428. 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  2429. 7.target1上创建TCP socket
  2430. 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  2431. 9.target1上关闭步骤7创建的socket
  2432. 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  2433. 11.target1上关闭所有创建的socket
  2434. 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
  2435. sub module: TCP
  2436. summary: STA mode, connect test. use socket in state that can't connect
  2437. test environment: SSC_T1_1
  2438. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2439. PC has 1 WiFi NIC.
  2440. 1 SSC target connect with PC by UART.'
  2441. test point 1: basic function
  2442. test point 2: use TCP SAP (socket/espconn API) in different state
  2443. version: v1 (2016-8-15)
  2444. - CI ready: 'Yes'
  2445. ID: TCPIP_TCP_0202
  2446. SDK: '8266_NonOS
  2447. 8266_RTOS
  2448. ESP32_IDF'
  2449. Test App: SSC
  2450. allow fail: ''
  2451. auto test: 'Yes'
  2452. category: Function
  2453. cmd set:
  2454. - ''
  2455. - - SOC SOC1 LISTEN <test_tcp_port1>
  2456. - [R SOC_COM L OK]
  2457. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  2458. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2459. - - SSC SSC1 soc -L -s <sock1>
  2460. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2461. - - SSC SSC1 soc -B -t TCP
  2462. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2463. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  2464. - ['R SSC1 RE CONNECT:\d+,OK']
  2465. - - SSC SSC1 soc -L -s <sock2>
  2466. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2467. - - SSC SSC1 soc -D -s <sock2>
  2468. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2469. - - SSC SSC1 soc -L -s <sock2>
  2470. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2471. - - SSC SSC1 soc -L -s 1000
  2472. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2473. comment: ''
  2474. execution time: 0.0
  2475. expected result: '1.OK
  2476. 2.OK
  2477. 3.ERROR
  2478. 4.OK
  2479. 5.OK
  2480. 6.ERROR
  2481. 7.OK
  2482. 8.ERROR
  2483. 9.ERROR'
  2484. initial condition: STAM2
  2485. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  2486. TC with initial condition STAAP2
  2487. level: Integration
  2488. module: TCPIP
  2489. steps: '1.PC上建立TCP 监听 test_tcp_port1
  2490. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  2491. 3.target1上使用步骤2创建的socket,去建立TCP 监听
  2492. 4.target1上创建TCP socket
  2493. 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  2494. 6.target1上使用步骤4创建的socket,创建TCP 监听
  2495. 7.target1上shutdown 步骤4的socket
  2496. 8.target1上使用步骤4创建的socket,创建TCP 监听
  2497. 9.target1上使用不存在socket,创建TCP 监听'
  2498. sub module: TCP
  2499. summary: STA mode, server listen test. use socket in state that can't listen
  2500. test environment: SSC_T1_1
  2501. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2502. PC has 1 WiFi NIC.
  2503. 1 SSC target connect with PC by UART.'
  2504. test point 1: basic function
  2505. test point 2: use TCP SAP (socket/espconn API) in different state
  2506. version: v1 (2016-8-15)
  2507. - CI ready: 'Yes'
  2508. ID: TCPIP_TCP_0203
  2509. SDK: '8266_NonOS
  2510. 8266_RTOS
  2511. ESP32_IDF'
  2512. Test App: SSC
  2513. allow fail: ''
  2514. auto test: 'Yes'
  2515. category: Function
  2516. cmd set:
  2517. - ''
  2518. - - SOC SOC1 LISTEN <test_tcp_port1>
  2519. - [R SOC_COM L OK]
  2520. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  2521. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2522. - - SSC SSC1 soc -S -s <sock1>
  2523. - ['R SSC1 RE SEND:\d+,ERROR']
  2524. - - SSC SSC1 soc -B -t TCP
  2525. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2526. - - SSC SSC1 soc -S -s <sock2>
  2527. - ['R SSC1 RE SEND:\d+,ERROR']
  2528. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  2529. - ['R SSC1 RE CONNECT:\d+,OK']
  2530. - - SSC SSC1 soc -D -s <sock2>
  2531. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2532. - - SSC SSC1 soc -S -s <sock2>
  2533. - ['R SSC1 RE SEND:\d+,ERROR']
  2534. - - SSC SSC1 soc -S -s 1000
  2535. - ['R SSC1 RE SEND:\d+,ERROR']
  2536. comment: ''
  2537. execution time: 0.0
  2538. expected result: '1.OK
  2539. 2.OK
  2540. 3.ERROR
  2541. 4.OK
  2542. 5.ERROR
  2543. 6.OK
  2544. 7.OK
  2545. 8.ERROR
  2546. 9.ERROR'
  2547. initial condition: STAM2
  2548. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  2549. TC with initial condition STAAP2
  2550. level: Integration
  2551. module: TCPIP
  2552. steps: '1.PC上建立TCP 监听 test_tcp_port1
  2553. 2.target1上创建UDP传输socket1,<test_udp_port1>
  2554. 3.target1上使用步骤2创建的socket1,去发送数据
  2555. 4.target1上创建TCP socket2
  2556. 5.target1上使用步骤4创建的socket2,去发送数据
  2557. 6.target1上使用步骤4创建的socket2,创建TCP连接,连接成功
  2558. 7.target1上shutdown 步骤4的socket2
  2559. 8.target1往socket2发送错误命令发送数据
  2560. 9.target1上不指定socket往上发送数据'
  2561. sub module: TCP
  2562. summary: send test. use socket in state that can't send
  2563. test environment: SSC_T1_1
  2564. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2565. PC has 1 WiFi NIC.
  2566. 1 SSC target connect with PC by UART.'
  2567. test point 1: basic function
  2568. test point 2: use TCP SAP (socket/espconn API) in different state
  2569. version: v1 (2016-8-15)
  2570. - CI ready: 'Yes'
  2571. ID: TCPIP_TCP_0204
  2572. SDK: '8266_NonOS
  2573. 8266_RTOS
  2574. ESP32_IDF'
  2575. Test App: SSC
  2576. allow fail: ''
  2577. auto test: 'Yes'
  2578. category: Function
  2579. cmd set:
  2580. - ''
  2581. - - SOC SOC1 LISTEN <test_tcp_port1>
  2582. - [R SOC_COM L OK]
  2583. - - SSC SSC1 soc -B -t TCP -w 0
  2584. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2585. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  2586. - ['R SSC1 RE CONNECT:\d+,OK']
  2587. - - SOC SOC1 ACCEPT SOC2
  2588. - [R SOC_COM L OK]
  2589. - - SOC SOC2 SEND 146000
  2590. - [P SOC_COM R *]
  2591. - - SSC SSC1 soc -W -s <sock1> -o 1
  2592. - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
  2593. comment: ''
  2594. execution time: 0.0
  2595. expected result: '1.OK
  2596. 2.OK
  2597. 3.OK,pc server accept OK
  2598. 4.OK
  2599. 5.OK
  2600. 6.OK
  2601. 7.target收到146000 byte
  2602. '
  2603. initial condition: STAM2
  2604. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  2605. TC with initial condition STAAP2
  2606. level: Integration
  2607. module: TCPIP
  2608. steps: '1. PC上建立TCP 监听 test_tcp_port1
  2609. 2.target1上创建TCP socket
  2610. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  2611. 4.PC与target1 创建好TCP 连接,有ACCEPT
  2612. 5.target上不进行recv
  2613. 6.PC send 100 * 1460 data to target,
  2614. 7.在target上开始recv'
  2615. sub module: TCP
  2616. summary: STA mode, recv buffer test
  2617. test environment: SSC_T1_1
  2618. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2619. PC has 1 WiFi NIC.
  2620. 1 SSC target connect with PC by UART.'
  2621. test point 1: basic function
  2622. test point 2: use TCP SAP (socket/espconn API) in different state
  2623. version: v2 (2016-10-19)
  2624. - CI ready: 'Yes'
  2625. ID: TCPIP_TCP_0206
  2626. SDK: '8266_NonOS
  2627. 8266_RTOS
  2628. ESP32_IDF'
  2629. Test App: SSC
  2630. allow fail: ''
  2631. auto test: 'Yes'
  2632. category: Function
  2633. cmd set:
  2634. - ''
  2635. - - SOC SOC1 LISTEN <test_tcp_port1>
  2636. - [R SOC_COM L OK]
  2637. - - SSC SSC1 soc -B -t TCP -i <target_ip>
  2638. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2639. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  2640. - ['R SSC1 RE CONNECT:\d+,OK']
  2641. - - SSC SSC1 soc -B -t TCP -i <target_ip>
  2642. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2643. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  2644. - ['R SSC1 RE CONNECT:\d+,OK']
  2645. - - SSC SSC1 soc -D -s <sock2>
  2646. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2647. - - SSC SSC1 soc -B -t TCP -p <random_port>
  2648. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  2649. - - SSC SSC1 soc -L -s <sock3>
  2650. - ['R SSC1 RE LISTEN:\d+,OK']
  2651. - - SOC SOC2 CONNECT <random_port> <target_ip>
  2652. - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
  2653. - - SSC SSC1 soc -I
  2654. - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>)',
  2655. 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)',
  2656. 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ip>,<random_port>,<pc_ip>)']
  2657. comment: ''
  2658. execution time: 0.0
  2659. expected result: '1.OK
  2660. 2.OK
  2661. 3.OK,pc tcp server accept成功
  2662. 4.OK
  2663. 5.OK
  2664. 6.OK
  2665. 7.OK
  2666. 8.OK
  2667. 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
  2668. 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
  2669. +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
  2670. +SOCINFO:<sock3>,<random_port>
  2671. +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
  2672. +SOCINF0ALL'
  2673. initial condition: STAM2
  2674. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  2675. TC with initial condition STAAP2
  2676. level: Integration
  2677. module: TCPIP
  2678. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
  2679. \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
  2680. \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
  2681. \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
  2682. \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
  2683. sub module: TCP
  2684. summary: STA mode, get active socket info test
  2685. test environment: SSC_T1_1
  2686. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2687. PC has 1 WiFi NIC.
  2688. 1 SSC target connect with PC by UART.'
  2689. test point 1: basic function
  2690. test point 2: use TCP SAP (socket/espconn API) in different state
  2691. version: v1 (2016-8-15)
  2692. - CI ready: 'Yes'
  2693. ID: TCPIP_TCP_0207
  2694. SDK: '8266_NonOS
  2695. 8266_RTOS
  2696. ESP32_IDF'
  2697. Test App: SSC
  2698. allow fail: ''
  2699. auto test: 'Yes'
  2700. category: Function
  2701. cmd set:
  2702. - ''
  2703. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2704. - [SOCR SOC_COM L OK]
  2705. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
  2706. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2707. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2708. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2709. - - SSC SSC1 soc -B -t TCP
  2710. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2711. - - SSC SSC1 soc -L -s <sock2>
  2712. - ['R SSC1 RE LISTEN:\d+,OK']
  2713. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  2714. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2715. - - SSC SSC1 soc -B -t TCP
  2716. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  2717. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  2718. - ['P SSC1 RE CONNECT:\d+,OK']
  2719. - - SSC SSC1 soc -D -s <sock3> -h B
  2720. - ['P SSC1 RE SHUTDOWN:\d+,OK']
  2721. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  2722. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2723. - - SSC SSC1 soc -T
  2724. - [R SSC1 C +CLOSEALL]
  2725. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2726. - ['P SSC1 RE CONNECT:\d+,ERROR']
  2727. comment: ''
  2728. execution time: 0.0
  2729. expected result: '1.ok
  2730. 2 OK
  2731. 3.ERROR
  2732. 4.OK
  2733. 5.OK
  2734. 6.ERROR
  2735. 7.OK
  2736. 8.OK
  2737. 9.OK
  2738. 10.OK
  2739. 11.OK
  2740. 12.ERROR'
  2741. initial condition: APM2
  2742. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2743. a TC with initial condition APSTA2
  2744. level: Integration
  2745. module: TCPIP
  2746. steps: '1.PC上建立TCP 监听 test_tcp_port1
  2747. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  2748. 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
  2749. 4.target1上创建TCP socket
  2750. 5.target1上使用步骤4创建的socket,创建TCP 监听
  2751. 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  2752. 7.target1上创建TCP socket
  2753. 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  2754. 9.target1上关闭步骤7创建的socket
  2755. 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  2756. 11.target1上关闭所有创建的socket
  2757. 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
  2758. sub module: TCP
  2759. summary: AP mode, connect test. use socket in state that can't connect
  2760. test environment: SSC_T1_1
  2761. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2762. PC has 1 WiFi NIC.
  2763. 1 SSC target connect with PC by UART.'
  2764. test point 1: basic function
  2765. test point 2: use TCP SAP (socket/espconn API) in different state
  2766. version: v1 (2016-8-15)
  2767. - CI ready: 'Yes'
  2768. ID: TCPIP_TCP_0208
  2769. SDK: '8266_NonOS
  2770. 8266_RTOS
  2771. ESP32_IDF'
  2772. Test App: SSC
  2773. allow fail: ''
  2774. auto test: 'Yes'
  2775. category: Function
  2776. cmd set:
  2777. - ''
  2778. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2779. - [R SOC_COM L OK]
  2780. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  2781. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2782. - - SSC SSC1 soc -L -s <sock1>
  2783. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2784. - - SSC SSC1 soc -B -t TCP
  2785. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2786. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  2787. - ['R SSC1 RE CONNECT:\d+,OK']
  2788. - - SSC SSC1 soc -L -s <sock2>
  2789. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2790. - - SSC SSC1 soc -D -s <sock2>
  2791. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2792. - - SSC SSC1 soc -L -s <sock2>
  2793. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2794. - - SSC SSC1 soc -L -s 1000
  2795. - ['R SSC1 RE LISTEN:\d+,ERROR']
  2796. comment: ''
  2797. execution time: 0.0
  2798. expected result: '1.OK
  2799. 2.OK
  2800. 3.ERROR
  2801. 4 OK
  2802. 5.OK
  2803. 6.ERROR
  2804. 7.OK
  2805. 8.ERROR
  2806. 9.ERROR'
  2807. initial condition: APM2
  2808. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2809. a TC with initial condition APSTA2
  2810. level: Integration
  2811. module: TCPIP
  2812. steps: '1.PC上建立TCP 监听 test_tcp_port1
  2813. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  2814. 3.target1上使用步骤2创建的socket,去建立TCP 监听
  2815. 4.target1上创建TCP socket
  2816. 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  2817. 6.target1上使用步骤4创建的socket,创建TCP 监听
  2818. 7.target1上shutdown 步骤4的socket
  2819. 8.target1上使用步骤4创建的socket,创建TCP 监听
  2820. 9.target1上使用不存在socket,创建TCP 监听'
  2821. sub module: TCP
  2822. summary: AP mode, server listen test. use socket in state that can't listen
  2823. test environment: SSC_T1_1
  2824. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2825. PC has 1 WiFi NIC.
  2826. 1 SSC target connect with PC by UART.'
  2827. test point 1: basic function
  2828. test point 2: use TCP SAP (socket/espconn API) in different state
  2829. version: v1 (2016-8-15)
  2830. - CI ready: 'Yes'
  2831. ID: TCPIP_TCP_0210
  2832. SDK: '8266_NonOS
  2833. 8266_RTOS
  2834. ESP32_IDF'
  2835. Test App: SSC
  2836. allow fail: ''
  2837. auto test: 'Yes'
  2838. category: Function
  2839. cmd set:
  2840. - ''
  2841. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2842. - [R SOC_COM L OK]
  2843. - - SSC SSC1 soc -B -t TCP -w 0
  2844. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2845. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2846. - ['R SSC1 RE CONNECT:\d+,OK']
  2847. - - SOC SOC1 ACCEPT SOC2
  2848. - [R SOC_COM L OK]
  2849. - - SOC SOC2 SEND 146000
  2850. - [P SOC_COM R *]
  2851. - - SSC SSC1 soc -W -s <sock1> -o 1
  2852. - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
  2853. comment: ''
  2854. execution time: 0.0
  2855. expected result: '1.OK
  2856. 2.OK
  2857. 3.OK,pc tcp server accept成功
  2858. 4.OK
  2859. 6.OK
  2860. 7.收到 146000 数据
  2861. '
  2862. initial condition: APM2
  2863. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2864. a TC with initial condition APSTA2
  2865. level: Integration
  2866. module: TCPIP
  2867. steps: '1. PC上建立TCP 监听 test_tcp_port1
  2868. 2.target1上创建TCP socket
  2869. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  2870. 4.PC与target1 创建好TCP 连接,有ACCEPT
  2871. 5.target停止调用recv
  2872. 6.PC send 100 * 1460 data to 8266,
  2873. 7.target重新调用recv'
  2874. sub module: TCP
  2875. summary: AP mode, recv buffer test
  2876. test environment: SSC_T1_1
  2877. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2878. PC has 1 WiFi NIC.
  2879. 1 SSC target connect with PC by UART.'
  2880. test point 1: basic function
  2881. test point 2: use TCP SAP (socket/espconn API) in different state
  2882. version: v2 (2016-10-19)
  2883. - CI ready: 'Yes'
  2884. ID: TCPIP_TCP_0212
  2885. SDK: '8266_NonOS
  2886. 8266_RTOS
  2887. ESP32_IDF'
  2888. Test App: SSC
  2889. allow fail: ''
  2890. auto test: 'Yes'
  2891. category: Function
  2892. cmd set:
  2893. - ''
  2894. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  2895. - [R SOC_COM L OK]
  2896. - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
  2897. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2898. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  2899. - ['R SSC1 RE CONNECT:\d+,OK']
  2900. - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
  2901. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  2902. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  2903. - ['R SSC1 RE CONNECT:\d+,OK']
  2904. - - SSC SSC1 soc -D -s <sock2>
  2905. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  2906. - - SSC SSC1 soc -B -t TCP -p <random_port>
  2907. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  2908. - - SSC SSC1 soc -L -s <sock3>
  2909. - ['R SSC1 RE LISTEN:\d+,OK']
  2910. - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  2911. - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
  2912. - - SSC SSC1 soc -I
  2913. - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)',
  2914. 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)',
  2915. 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)']
  2916. comment: ''
  2917. execution time: 0.0
  2918. expected result: '1.OK
  2919. 2.OK
  2920. 3.OK,pc tcp server accept成功
  2921. 4.OK
  2922. 5.OK
  2923. 6.OK
  2924. 7.OK
  2925. 8.OK
  2926. 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
  2927. 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
  2928. +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
  2929. +SOCINFO:<sock3>,<random_port>
  2930. +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
  2931. +SOCINF0ALL'
  2932. initial condition: APM2
  2933. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  2934. a TC with initial condition APSTA2
  2935. level: Integration
  2936. module: TCPIP
  2937. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
  2938. \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
  2939. \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
  2940. \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
  2941. \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
  2942. sub module: TCP
  2943. summary: AP mode, get active socket info test
  2944. test environment: SSC_T1_1
  2945. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2946. PC has 1 WiFi NIC.
  2947. 1 SSC target connect with PC by UART.'
  2948. test point 1: basic function
  2949. test point 2: use TCP SAP (socket/espconn API) in different state
  2950. version: v1 (2016-8-15)
  2951. - CI ready: 'Yes'
  2952. ID: TCPIP_TCP_0401
  2953. SDK: '8266_NonOS
  2954. 8266_RTOS
  2955. ESP32_IDF'
  2956. Test App: SSC
  2957. allow fail: ''
  2958. auto test: 'Yes'
  2959. category: Function
  2960. cmd set:
  2961. - ''
  2962. - - SOC SOC1 LISTEN <test_tcp_port1>
  2963. - [R SOC_COM L OK]
  2964. - - SSC SSC1 soc -B -t TCP
  2965. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  2966. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  2967. - ['R SSC1 RE CONNECT:\d+,OK']
  2968. - - SOC SOC1 ACCEPT SOC2
  2969. - [R SOC_COM L OK]
  2970. - - SSC SSC1 sta -D
  2971. - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
  2972. - - SSC SSC1 soc -S -s <sock1> -l 5
  2973. - ['P SSC1 RE SEND:\d+,ERROR']
  2974. comment: ''
  2975. execution time: 0.0
  2976. expected result: '1.OK
  2977. 2.OK
  2978. 3.OK; PC TCP server accept 成功
  2979. 4.OK
  2980. 5.OK
  2981. 6.ERROR'
  2982. initial condition: STAM2
  2983. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  2984. TC with initial condition STAAP2
  2985. level: Integration
  2986. module: TCPIP
  2987. steps: '1.PC上建立TCP 监听 test_tcp_port1
  2988. 2.target1上创建TCP socket1
  2989. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  2990. 4.PC与target1创建好TCP 连接,有ACCEPT
  2991. 5.断开与AP 连接
  2992. 6.8266往PC上发送5字节数据'
  2993. sub module: TCP
  2994. summary: do TCP send after WIFI disconnected
  2995. test environment: SSC_T1_1
  2996. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  2997. PC has 1 WiFi NIC.
  2998. 1 SSC target connect with PC by UART.'
  2999. test point 1: abnormal/special use
  3000. test point 2: TCP handling abnormal event
  3001. version: v1 (2016-8-15)
  3002. - CI ready: 'Yes'
  3003. ID: TCPIP_TCP_0402
  3004. SDK: '8266_NonOS
  3005. 8266_RTOS
  3006. ESP32_IDF'
  3007. Test App: SSC
  3008. allow fail: ''
  3009. auto test: 'Yes'
  3010. category: Function
  3011. cmd set:
  3012. - ''
  3013. - - SOC SOC1 LISTEN <test_tcp_port1>
  3014. - [R SOC_COM L OK]
  3015. - - SSC SSC1 soc -B -t TCP
  3016. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3017. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3018. - ['R SSC1 RE CONNECT:\d+,OK']
  3019. - - SOC SOC1 ACCEPT SOC2
  3020. - [R SOC_COM L OK]
  3021. - - SSC SSC1 sta -D
  3022. - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
  3023. - - SSC SSC1 soc -T -s <sock1>
  3024. - ['R SSC1 RE CLOSE:\d+,OK']
  3025. comment: ''
  3026. execution time: 0.0
  3027. expected result: '1.OK
  3028. 2.OK
  3029. 3.OK; PC TCP server accept 成功
  3030. 4.OK
  3031. 5.OK
  3032. 6.OK'
  3033. initial condition: STAM2
  3034. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3035. TC with initial condition STAAP2
  3036. level: Integration
  3037. module: TCPIP
  3038. steps: '1.PC上建立TCP 监听 test_tcp_port1
  3039. 2.target1上创建TCP socket1
  3040. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  3041. 4.PC与target1创建好TCP 连接,有ACCEPT
  3042. 5.断开与AP 连接
  3043. 6.关闭建立的socket1连接'
  3044. sub module: TCP
  3045. summary: "close TCP socket after WIFI \ndisconnected"
  3046. test environment: SSC_T1_1
  3047. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3048. PC has 1 WiFi NIC.
  3049. 1 SSC target connect with PC by UART.'
  3050. test point 1: abnormal/special use
  3051. test point 2: TCP handling abnormal event
  3052. version: v1 (2016-8-15)
  3053. - CI ready: 'Yes'
  3054. ID: TCPIP_TCP_0403
  3055. SDK: '8266_NonOS
  3056. 8266_RTOS
  3057. ESP32_IDF'
  3058. Test App: SSC
  3059. allow fail: ''
  3060. auto test: 'Yes'
  3061. category: Function
  3062. cmd set:
  3063. - ''
  3064. - - SOC SOC1 LISTEN <test_tcp_port1>
  3065. - [R SOC_COM L OK]
  3066. - - SSC SSC1 soc -B -t TCP
  3067. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3068. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3069. - ['R SSC1 RE CONNECT:\d+,OK']
  3070. - - SOC SOC1 ACCEPT SOC2
  3071. - [R SOC_COM L OK]
  3072. - - SSC SSC1 op -S -o 2
  3073. - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
  3074. - - SSC SSC1 soc -S -s <sock1> -l 5
  3075. - ['P SSC1 RE SEND:\d+,ERROR']
  3076. comment: ''
  3077. execution time: 0.0
  3078. expected result: '1.OK
  3079. 2.OK
  3080. 3.OK; PC TCP server accept 成功
  3081. 4.OK
  3082. 5.OK
  3083. 6.ERROR'
  3084. initial condition: STAM2
  3085. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3086. TC with initial condition STAAP2
  3087. level: Integration
  3088. module: TCPIP
  3089. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  3090. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
  3091. \ \n6.8266往PC上发送5字节数据"
  3092. sub module: TCP
  3093. summary: do TCP send after mode changed
  3094. test environment: SSC_T1_1
  3095. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3096. PC has 1 WiFi NIC.
  3097. 1 SSC target connect with PC by UART.'
  3098. test point 1: abnormal/special use
  3099. test point 2: TCP handling abnormal event
  3100. version: v1 (2016-8-15)
  3101. - CI ready: 'Yes'
  3102. ID: TCPIP_TCP_0404
  3103. SDK: '8266_NonOS
  3104. 8266_RTOS
  3105. ESP32_IDF'
  3106. Test App: SSC
  3107. allow fail: ''
  3108. auto test: 'Yes'
  3109. category: Function
  3110. cmd set:
  3111. - ''
  3112. - - SOC SOC1 LISTEN <test_tcp_port1>
  3113. - [R SOC_COM L OK]
  3114. - - SSC SSC1 soc -B -t TCP
  3115. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3116. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3117. - ['R SSC1 RE CONNECT:\d+,OK']
  3118. - - SOC SOC1 ACCEPT SOC2
  3119. - [R SOC_COM L OK]
  3120. - - SSC SSC1 op -S -o 2
  3121. - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
  3122. - - SSC SSC1 soc -T -s <sock1>
  3123. - ['R SSC1 RE CLOSE:\d+,OK']
  3124. comment: ''
  3125. execution time: 0.0
  3126. expected result: '1.OK
  3127. 2.OK
  3128. 3.OK; PC TCP server accept 成功
  3129. 4.OK
  3130. 5.OK
  3131. 6.OK'
  3132. initial condition: STAM2
  3133. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3134. TC with initial condition STAAP2
  3135. level: Integration
  3136. module: TCPIP
  3137. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  3138. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
  3139. \ \n6.关闭建立的socket1连接"
  3140. sub module: TCP
  3141. summary: close TCP socket after mode changed
  3142. test environment: SSC_T1_1
  3143. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3144. PC has 1 WiFi NIC.
  3145. 1 SSC target connect with PC by UART.'
  3146. test point 1: abnormal/special use
  3147. test point 2: TCP handling abnormal event
  3148. version: v1 (2016-8-15)
  3149. - CI ready: 'Yes'
  3150. ID: TCPIP_TCP_0405
  3151. SDK: '8266_NonOS
  3152. 8266_RTOS
  3153. ESP32_IDF'
  3154. Test App: SSC
  3155. allow fail: ''
  3156. auto test: 'Yes'
  3157. category: Function
  3158. cmd set:
  3159. - ''
  3160. - - SOC SOC1 LISTEN <test_tcp_port1>
  3161. - [R SOC_COM L OK]
  3162. - - SSC SSC1 soc -B -t TCP
  3163. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3164. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3165. - ['R SSC1 RE CONNECT:\d+,OK']
  3166. - - SOC SOC1 ACCEPT SOC2
  3167. - [R SOC_COM L OK]
  3168. - - NIC <pc_nic> DISABLED
  3169. - [R PC_COM C OK]
  3170. - - SSC SSC1 soc -S -s <sock1> -l 1
  3171. - ['']
  3172. - - DELAY 5400
  3173. - ['P SSC1 RE CLOSED:\d+,0']
  3174. comment: ''
  3175. execution time: 1.5
  3176. expected result: '1.OK
  3177. 2.OK
  3178. 3.OK; PC TCP server accept 成功
  3179. 4.OK
  3180. 5.OK
  3181. 6.TCP连接断开'
  3182. initial condition: STAM2
  3183. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3184. TC with initial condition STAAP2
  3185. level: Integration
  3186. module: TCPIP
  3187. steps: '1.PC上建立TCP 监听 test_tcp_port1
  3188. 2.target1上创建TCP socket1
  3189. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  3190. 4.PC与target1创建好TCP 连接,有ACCEPT
  3191. 5.PC 网卡 disable
  3192. 6.target1上使用socket1发送数据,等待 90 分钟'
  3193. sub module: TCP
  3194. summary: do TCP send after PC NIC disabled
  3195. test environment: SSC_T1_1
  3196. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3197. PC has 1 WiFi NIC.
  3198. 1 SSC target connect with PC by UART.'
  3199. test point 1: abnormal/special use
  3200. test point 2: TCP handling abnormal event
  3201. version: v1 (2016-8-15)
  3202. - CI ready: 'Yes'
  3203. ID: TCPIP_TCP_0406
  3204. SDK: '8266_NonOS
  3205. 8266_RTOS
  3206. ESP32_IDF'
  3207. Test App: SSC
  3208. allow fail: ''
  3209. auto test: 'Yes'
  3210. category: Function
  3211. cmd set:
  3212. - ''
  3213. - - SOC SOC1 LISTEN <test_tcp_port1>
  3214. - [R SOC_COM L OK]
  3215. - - SSC SSC1 soc -B -t TCP
  3216. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3217. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3218. - ['R SSC1 RE CONNECT:\d+,OK']
  3219. - - SOC SOC1 ACCEPT SOC2
  3220. - [R SOC_COM L OK]
  3221. - - NIC <pc_nic> DISABLED
  3222. - [R PC_COM C OK]
  3223. - - SSC SSC1 soc -T -s <sock1>
  3224. - ['R SSC1 RE CLOSE:\d+,OK']
  3225. comment: ''
  3226. execution time: 0.0
  3227. expected result: '1.OK
  3228. 2.OK
  3229. 3.OK; PC TCP server accept 成功
  3230. 4.OK
  3231. 5.OK
  3232. 6.OK'
  3233. initial condition: STAM2
  3234. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3235. TC with initial condition STAAP2
  3236. level: Integration
  3237. module: TCPIP
  3238. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  3239. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接"
  3240. sub module: TCP
  3241. summary: close TCP socket after PC NIC disabled
  3242. test environment: SSC_T1_1
  3243. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3244. PC has 1 WiFi NIC.
  3245. 1 SSC target connect with PC by UART.'
  3246. test point 1: abnormal/special use
  3247. test point 2: TCP handling abnormal event
  3248. version: v1 (2016-8-15)
  3249. - CI ready: 'Yes'
  3250. ID: TCPIP_TCP_0407
  3251. SDK: '8266_NonOS
  3252. 8266_RTOS
  3253. ESP32_IDF'
  3254. Test App: SSC
  3255. allow fail: ''
  3256. auto test: 'Yes'
  3257. category: Function
  3258. cmd set:
  3259. - ''
  3260. - - SOC SOC1 LISTEN <test_tcp_port1>
  3261. - [R SOC_COM L OK]
  3262. - - SSC SSC1 soc -B -t TCP
  3263. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3264. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3265. - ['R SSC1 RE CONNECT:\d+,OK']
  3266. - - SOC SOC1 ACCEPT SOC2
  3267. - [R SOC_COM L OK]
  3268. - - SSC SSC1 dhcp -E -o 1
  3269. - ['R SSC1 C +DHCP:STA,OK']
  3270. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  3271. - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
  3272. - - SSC SSC1 ip -Q -o 1
  3273. - ['R SSC1 C +STAIP:192.168.111.210']
  3274. - - SSC SSC1 soc -S -s <sock1> -l 5
  3275. - ['P SSC1 RE SEND:\d+,ERROR']
  3276. comment: ''
  3277. execution time: 0.0
  3278. expected result: '1.OK
  3279. 2.OK
  3280. 3.OK; PC TCP server accept 成功
  3281. 4.OK
  3282. 5.OK
  3283. 6.OK
  3284. 7.OK
  3285. 8.ERROR'
  3286. initial condition: STAM2
  3287. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3288. TC with initial condition STAAP2
  3289. level: Integration
  3290. module: TCPIP
  3291. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  3292. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
  3293. \ ip \n7.查询sta ip 地址是否生效\n8.8266往PC上发送5字节数据"
  3294. sub module: TCP
  3295. summary: do TCP send after IP changed
  3296. test environment: SSC_T1_1
  3297. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3298. PC has 1 WiFi NIC.
  3299. 1 SSC target connect with PC by UART.'
  3300. test point 1: abnormal/special use
  3301. test point 2: TCP handling abnormal event
  3302. version: v1 (2016-8-15)
  3303. - CI ready: 'Yes'
  3304. ID: TCPIP_TCP_0408
  3305. SDK: '8266_NonOS
  3306. 8266_RTOS
  3307. ESP32_IDF'
  3308. Test App: SSC
  3309. allow fail: ''
  3310. auto test: 'Yes'
  3311. category: Function
  3312. cmd set:
  3313. - ''
  3314. - - SOC SOC1 LISTEN <test_tcp_port1>
  3315. - [R SOC_COM L OK]
  3316. - - SSC SSC1 soc -B -t TCP
  3317. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3318. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3319. - ['R SSC1 RE CONNECT:\d+,OK']
  3320. - - SOC SOC1 ACCEPT SOC2
  3321. - [R SOC_COM L OK]
  3322. - - SSC SSC1 dhcp -E -o 1
  3323. - ['R SSC1 C +DHCP:STA,OK']
  3324. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  3325. - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
  3326. - - SSC SSC1 ip -Q -o 1
  3327. - ['R SSC1 C +STAIP:192.168.111.210']
  3328. - - SSC SSC1 soc -T -s <sock1>
  3329. - ['R SSC1 RE CLOSE:\d+,OK']
  3330. comment: ''
  3331. execution time: 0.0
  3332. expected result: '1.OK
  3333. 2.OK
  3334. 3.OK; PC TCP server accept 成功
  3335. 4.OK
  3336. 5.OK
  3337. 6.OK
  3338. 7.OK
  3339. 8.OK'
  3340. initial condition: STAM2
  3341. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3342. TC with initial condition STAAP2
  3343. level: Integration
  3344. module: TCPIP
  3345. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  3346. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
  3347. \ ip \n7.查询sta ip 地址是否生效\n8.关闭建立的socket1连接"
  3348. sub module: TCP
  3349. summary: close TCP socket after IP changed
  3350. test environment: SSC_T1_1
  3351. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3352. PC has 1 WiFi NIC.
  3353. 1 SSC target connect with PC by UART.'
  3354. test point 1: abnormal/special use
  3355. test point 2: TCP handling abnormal event
  3356. version: v1 (2016-8-15)
  3357. - CI ready: 'Yes'
  3358. ID: TCPIP_TCP_0411
  3359. SDK: '8266_NonOS
  3360. 8266_RTOS
  3361. ESP32_IDF'
  3362. Test App: SSC
  3363. allow fail: ''
  3364. auto test: 'Yes'
  3365. category: Function
  3366. cmd set:
  3367. - ''
  3368. - - SOC SOC1 LISTEN <test_tcp_port1>
  3369. - [R SOC_COM L OK]
  3370. - - SSC SSC1 soc -B -t TCP
  3371. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3372. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3373. - ['R SSC1 RE CONNECT:\d+,OK']
  3374. - - SOC SOC1 ACCEPT SOC2
  3375. - [R SOC_COM L OK]
  3376. - - SSC SSC1 soc -B -t TCP
  3377. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  3378. - - SSC SSC1 soc -S -s <sock2> -l 5
  3379. - ['P SSC1 RE SEND:\d+,ERROR']
  3380. - - SSC SSC1 soc -S -s <sock1> -l 5
  3381. - ['P SSC1 RE SEND:\d+,OK']
  3382. comment: ''
  3383. execution time: 0.0
  3384. expected result: '1.OK
  3385. 2.OK
  3386. 3.OK; PC TCP server accept 成功
  3387. 4.OK
  3388. 5.OK
  3389. 6.ERROR
  3390. 7.OK'
  3391. initial condition: STAM2
  3392. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3393. TC with initial condition STAAP2
  3394. level: Integration
  3395. module: TCPIP
  3396. steps: '1.PC上建立TCP 监听 test_tcp_port1
  3397. 2.target1上创建TCP socket1
  3398. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  3399. 4.PC与target1创建好TCP 连接,有ACCEPT
  3400. 5.target1上创建TCP socket2
  3401. 6.8266往PC socket2上发送5字节数据
  3402. 7.8266往PC socket1上发送5字节数据'
  3403. sub module: TCP
  3404. summary: do TCP send after socket changed
  3405. test environment: SSC_T1_1
  3406. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3407. PC has 1 WiFi NIC.
  3408. 1 SSC target connect with PC by UART.'
  3409. test point 1: abnormal/special use
  3410. test point 2: TCP handling abnormal event
  3411. version: v1 (2016-8-15)
  3412. - CI ready: 'Yes'
  3413. ID: TCPIP_TCP_0412
  3414. SDK: '8266_NonOS
  3415. 8266_RTOS
  3416. ESP32_IDF'
  3417. Test App: SSC
  3418. allow fail: ''
  3419. auto test: 'Yes'
  3420. category: Function
  3421. cmd set:
  3422. - ''
  3423. - - SOC SOC1 LISTEN <test_tcp_port1>
  3424. - [R SOC_COM L OK]
  3425. - - SSC SSC1 soc -B -t TCP
  3426. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3427. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  3428. - ['R SSC1 RE CONNECT:\d+,OK']
  3429. - - SOC SOC1 ACCEPT SOC2
  3430. - [R SOC_COM L OK]
  3431. - - SSC SSC1 soc -B -t TCP
  3432. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  3433. - - SSC SSC1 soc -T -s <sock1>
  3434. - ['R SSC1 RE CLOSE:\d+,OK']
  3435. - - SSC SSC1 soc -T -s <sock2>
  3436. - ['R SSC1 RE CLOSE:\d+,OK']
  3437. comment: ''
  3438. execution time: 0.0
  3439. expected result: '1.OK
  3440. 2.OK
  3441. 3.OK; PC TCP server accept 成功
  3442. 4.OK
  3443. 5.OK
  3444. 6.OK
  3445. 7.OK'
  3446. initial condition: STAM2
  3447. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3448. TC with initial condition STAAP2
  3449. level: Integration
  3450. module: TCPIP
  3451. steps: '1.PC上建立TCP 监听 test_tcp_port1
  3452. 2.target1上创建TCP socket1
  3453. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  3454. 4.PC与target1创建好TCP 连接,有ACCEPT
  3455. 5.target1上创建TCP socket2
  3456. 6.关闭socket1 连接
  3457. 7.关闭socket2连接'
  3458. sub module: TCP
  3459. summary: close TCP send after socket changed
  3460. test environment: SSC_T1_1
  3461. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3462. PC has 1 WiFi NIC.
  3463. 1 SSC target connect with PC by UART.'
  3464. test point 1: abnormal/special use
  3465. test point 2: TCP handling abnormal event
  3466. version: v1 (2016-8-15)
  3467. - CI ready: 'Yes'
  3468. ID: TCPIP_TCP_5001
  3469. SDK: '8266_NonOS
  3470. 8266_RTOS
  3471. ESP32_IDF'
  3472. Test App: SSC
  3473. auto test: 'Yes'
  3474. category: Stress
  3475. cmd set:
  3476. - TCPStress/TCPConnection
  3477. - - max_connection = 5
  3478. - [dummy]
  3479. - - execute_time = 300
  3480. - ['']
  3481. - - connect_method = ["C_01", "C_02", "C_05", "C_07"]
  3482. - ['']
  3483. - - disconnect_method = ["D_01", "D_03", "D_05", "D_06"]
  3484. - ['']
  3485. - - pc_ip = "pc_ip"
  3486. - ['']
  3487. - - target_ip = "target_ip"
  3488. - ['']
  3489. comment: ''
  3490. execution time: 5.0
  3491. expected result: 1. succeed
  3492. initial condition: STAM2
  3493. initial condition description (auto): sta mode, join AP, DHCP on
  3494. level: Integration
  3495. module: TCPIP
  3496. steps: '1. random choose connect method to do connect, random choose a method to
  3497. close
  3498. Loop executing step 1'
  3499. sub module: TCP
  3500. summary: test possible TCP connect/disconnect method
  3501. test environment: SSC_T1_1
  3502. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3503. PC has 1 WiFi NIC.
  3504. 1 SSC target connect with PC by UART.'
  3505. test point 1: function + stress
  3506. test point 2: TCP connect and disconnect test
  3507. version: v2 (2016-11-15)
  3508. - CI ready: 'Yes'
  3509. ID: TCPIP_TCP_5101
  3510. SDK: '8266_NonOS
  3511. 8266_RTOS
  3512. ESP32_IDF'
  3513. Test App: SSC
  3514. auto test: 'Yes'
  3515. category: Stable
  3516. cmd set:
  3517. - TCPStress/TCPAPNSTA
  3518. - - send_len = 1460
  3519. - [dummy]
  3520. - - test_time = 720
  3521. - ['']
  3522. - - server_port = "<test_tcp_port1>"
  3523. - ['']
  3524. - - server_echo = True
  3525. - ['']
  3526. - - sta_number = 4
  3527. - ['']
  3528. - - send_delay = 50
  3529. - ['']
  3530. - - ap_ip = "<target_ap_ip>"
  3531. - ['']
  3532. comment: ''
  3533. execution time: 12.0
  3534. expected result: '1. succeed
  3535. 2. succeed
  3536. 3. succeed
  3537. 4. all TCP connection not disconnected'
  3538. initial condition: None
  3539. initial condition description (auto): none
  3540. level: Integration
  3541. module: TCPIP
  3542. steps: '1. all sta connect to softap
  3543. 2. create tcp server on softap
  3544. 3. all sta connect to softap tcp server
  3545. 4. do bi-direction send on all tcp connections'
  3546. sub module: TCP
  3547. summary: 1 AP 4 STA TCP stable test
  3548. test environment: SSC_T5_1
  3549. test environment description (auto): 5 SSC target connect with PC by UART.
  3550. test point 1: stable
  3551. test point 2: TCP stable test
  3552. version: v2 (2016-11-15)
  3553. - CI ready: 'Yes'
  3554. ID: TCPIP_TCP_5102
  3555. SDK: '8266_NonOS
  3556. 8266_RTOS
  3557. ESP32_IDF'
  3558. Test App: SSC
  3559. auto test: 'Yes'
  3560. category: Stable
  3561. cmd set:
  3562. - TCPStress/TCPRandomSend
  3563. - - delay_config = [0, 0.01, 0.1, 0.5, 1]
  3564. - [dummy]
  3565. - - send_count = 1000
  3566. - ['']
  3567. - - test_time = 300
  3568. - ['']
  3569. comment: ''
  3570. execution time: 12.0
  3571. expected result: '1. succeed
  3572. 2. succeed'
  3573. initial condition: STAM2
  3574. initial condition description (auto): sta mode, join AP, DHCP on
  3575. level: Integration
  3576. module: TCPIP
  3577. steps: '1. create TCP connection
  3578. 2. PC send random length data to target'
  3579. sub module: TCP
  3580. summary: send random length segment to target
  3581. test environment: SSC_T1_1
  3582. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3583. PC has 1 WiFi NIC.
  3584. 1 SSC target connect with PC by UART.'
  3585. test point 1: stable
  3586. test point 2: TCP stable test
  3587. version: v2 (2016-11-15)
  3588. - CI ready: 'Yes'
  3589. ID: TCPIP_TCP_5103
  3590. SDK: '8266_NonOS
  3591. 8266_RTOS
  3592. ESP32_IDF'
  3593. Test App: SSC
  3594. auto test: 'Yes'
  3595. category: Stable
  3596. cmd set:
  3597. - TCPStress/TCPSoftAPSTASendRecv
  3598. - - send_len = 1460
  3599. - [dummy]
  3600. - - test_time = 720
  3601. - ['']
  3602. - - server_port = "<test_tcp_port1>"
  3603. - ['']
  3604. - - server_port_2 = "<test_tcp_port2>"
  3605. - ['']
  3606. - - server_echo = True
  3607. - ['']
  3608. - - sta_number = 3
  3609. - ['']
  3610. - - send_delay = 50
  3611. - ['']
  3612. - - ap_ip = "<target_ap_ip>"
  3613. - ['']
  3614. comment: ''
  3615. execution time: 12.0
  3616. expected result: '1. succeed
  3617. 2. verify reciveid data on target and PC succeed'
  3618. initial condition: None
  3619. initial condition description (auto): none
  3620. level: Integration
  3621. module: TCPIP
  3622. steps: '1. create TCP connection
  3623. 2. send specified pattern on both direction'
  3624. sub module: TCP
  3625. summary: TCP SoftSTA send/recv stress test
  3626. test environment: SSC_T5_1
  3627. test environment description (auto): 5 SSC target connect with PC by UART.
  3628. test point 1: stable
  3629. test point 2: TCP stable test
  3630. version: v2 (2016-11-15)
  3631. - CI ready: 'Yes'
  3632. ID: TCPIP_TCP_5201
  3633. SDK: '8266_NonOS
  3634. 8266_RTOS
  3635. ESP32_IDF'
  3636. Test App: SSC
  3637. auto test: 'Yes'
  3638. category: Stress
  3639. cmd set:
  3640. - TCPStress/TCPSendRecv
  3641. - - send_len = 1460
  3642. - [dummy]
  3643. - - test_time = 300
  3644. - ['']
  3645. - - duplex = True
  3646. - ['']
  3647. - - conn_num = 5
  3648. - ['']
  3649. - - send_delay = 20
  3650. - ['']
  3651. comment: ''
  3652. execution time: 12.0
  3653. expected result: '1. succeed
  3654. 2. succeed
  3655. 3. all TCP connection not disconnected'
  3656. initial condition: T2_1
  3657. initial condition description (auto): target 1 as SoftAP, target 2 as STA
  3658. level: Integration
  3659. module: TCPIP
  3660. steps: '1. sta connect to softap
  3661. 2. create multiple tcp connection
  3662. 3. do send/recv on all tcp connections'
  3663. sub module: TCP
  3664. summary: TCP send/recv stress test
  3665. test environment: SSC_T2_1
  3666. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  3667. PC has 1 WiFi NIC.
  3668. 2 SSC target connect with PC by UART.'
  3669. test point 1: stress
  3670. test point 2: TCP stress test
  3671. version: v2 (2016-11-15)
  3672. - CI ready: 'Yes'
  3673. ID: TCPIP_TCP_5202
  3674. SDK: '8266_NonOS
  3675. 8266_RTOS
  3676. ESP32_IDF'
  3677. Test App: SSC
  3678. auto test: 'Yes'
  3679. category: Stress
  3680. cmd set:
  3681. - TCPStress/TCPDataValidation
  3682. - - test_time = 1440
  3683. - [dummy]
  3684. - - tx_enable = True
  3685. - ['']
  3686. - - rx_enable = True
  3687. - ['']
  3688. - - conn_num = 1
  3689. - ['']
  3690. - - send_len = 1024
  3691. - ['']
  3692. comment: ''
  3693. execution time: 24.0
  3694. expected result: '1. succeed
  3695. 2. verify reciveid data on target and PC succeed'
  3696. initial condition: STAM2
  3697. initial condition description (auto): sta mode, join AP, DHCP on
  3698. level: Integration
  3699. module: TCPIP
  3700. steps: '1. create TCP connection
  3701. 2. send specified pattern on both direction'
  3702. sub module: TCP
  3703. summary: TCP send/recv data validation
  3704. test environment: SSC_T1_1
  3705. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3706. PC has 1 WiFi NIC.
  3707. 1 SSC target connect with PC by UART.'
  3708. test point 1: stress
  3709. test point 2: TCP stress test
  3710. version: v2 (2016-11-15)
  3711. - CI ready: 'Yes'
  3712. ID: TCPIP_UDP_0101
  3713. SDK: '8266_NonOS
  3714. 8266_RTOS
  3715. ESP32_IDF'
  3716. Test App: SSC
  3717. allow fail: ''
  3718. auto test: 'Yes'
  3719. category: Function
  3720. cmd set:
  3721. - ''
  3722. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  3723. - ['R SSC1 RE BIND:(\d+),OK']
  3724. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
  3725. - ['R SSC1 RE BIND:(\d+),OK']
  3726. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  3727. - ['R SSC1 C BIND:ERROR']
  3728. - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
  3729. - ['R SSC1 RE BIND:(\d+),OK']
  3730. comment: ''
  3731. execution time: 0.0
  3732. expected result: '1.OK
  3733. 2.OK
  3734. 3.ERROR
  3735. 4.OK'
  3736. initial condition: STAM2
  3737. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3738. TC with initial condition STAAP2
  3739. level: Integration
  3740. module: TCPIP
  3741. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  3742. 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
  3743. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  3744. 4.target1上创建TCP socket3, target_udp_port1'
  3745. sub module: UDP
  3746. summary: STA mode, udp bind test. use different ip, port
  3747. test environment: SSC_T1_1
  3748. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3749. PC has 1 WiFi NIC.
  3750. 1 SSC target connect with PC by UART.'
  3751. test point 1: basic function
  3752. test point 2: use UDP SAP (socket/espconn API) with different parameter
  3753. version: v1 (2016-8-15)
  3754. - CI ready: 'Yes'
  3755. ID: TCPIP_UDP_0102
  3756. SDK: '8266_NonOS
  3757. 8266_RTOS
  3758. ESP32_IDF'
  3759. Test App: SSC
  3760. allow fail: 1/5
  3761. auto test: 'Yes'
  3762. category: Function
  3763. cmd set:
  3764. - ''
  3765. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  3766. - [R SOC_COM L OK]
  3767. - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
  3768. - [R SOC_COM L OK]
  3769. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  3770. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3771. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
  3772. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 10]
  3773. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
  3774. - ['P SSC1 RE SEND:(\d+),OK', P SOC2 UL 10]
  3775. comment: ''
  3776. execution time: 0.0
  3777. expected result: '1.OK
  3778. 2.OK
  3779. 3.OK
  3780. 4.OK
  3781. 5.OK'
  3782. initial condition: STAM2
  3783. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3784. TC with initial condition STAAP2
  3785. level: Integration
  3786. module: TCPIP
  3787. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  3788. 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  3789. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  3790. 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
  3791. 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
  3792. sub module: UDP
  3793. summary: STA mode, sendto test. use different ip, port
  3794. test environment: SSC_T1_1
  3795. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3796. PC has 1 WiFi NIC.
  3797. 1 SSC target connect with PC by UART.'
  3798. test point 1: basic function
  3799. test point 2: use UDP SAP (socket/espconn API) with different parameter
  3800. version: v1 (2016-8-15)
  3801. - CI ready: 'Yes'
  3802. ID: TCPIP_UDP_0103
  3803. SDK: '8266_NonOS
  3804. 8266_RTOS
  3805. ESP32_IDF'
  3806. Test App: SSC
  3807. allow fail: 1/5
  3808. auto test: 'Yes'
  3809. category: Function
  3810. cmd set:
  3811. - ''
  3812. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  3813. - [R SOC_COM L OK]
  3814. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  3815. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3816. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
  3817. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
  3818. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
  3819. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
  3820. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
  3821. - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
  3822. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
  3823. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
  3824. comment: ''
  3825. execution time: 0.0
  3826. expected result: '1.OK
  3827. 2.OK
  3828. 3.OK
  3829. 4.OK
  3830. 5.OK,没有到UDP包
  3831. 6.OK'
  3832. initial condition: STAM2
  3833. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3834. TC with initial condition STAAP2
  3835. level: Integration
  3836. module: TCPIP
  3837. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  3838. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  3839. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  3840. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  3841. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  3842. 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
  3843. sub module: UDP
  3844. summary: STA mode, sendto test with different length
  3845. test environment: SSC_T1_1
  3846. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3847. PC has 1 WiFi NIC.
  3848. 1 SSC target connect with PC by UART.'
  3849. test point 1: basic function
  3850. test point 2: use UDP SAP (socket/espconn API) with different parameter
  3851. version: v1 (2016-8-15)
  3852. - CI ready: 'Yes'
  3853. ID: TCPIP_UDP_0104
  3854. SDK: '8266_NonOS
  3855. 8266_RTOS
  3856. ESP32_IDF'
  3857. Test App: SSC
  3858. allow fail: 1/5
  3859. auto test: 'Yes'
  3860. category: Function
  3861. cmd set:
  3862. - ''
  3863. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  3864. - [R SOC_COM L OK]
  3865. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  3866. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3867. - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
  3868. - [R SSC1 SL <sock1>+1]
  3869. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  3870. - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)']
  3871. - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
  3872. - [P SSC1 NC +RECVFROM, P SOC_COM C OK]
  3873. - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
  3874. - [R SOC_COM L OK]
  3875. - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
  3876. - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)']
  3877. comment: ''
  3878. execution time: 0.0
  3879. expected result: '1.OK
  3880. 2.OK
  3881. 3.OK
  3882. 4.OK
  3883. 5.OK,没收到UDP包
  3884. 6.OK
  3885. 7.OK'
  3886. initial condition: STAM2
  3887. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3888. TC with initial condition STAAP2
  3889. level: Integration
  3890. module: TCPIP
  3891. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  3892. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  3893. 3.PC往8266上发送1字节数据
  3894. 4.PC往8266上发送1472字节数据
  3895. 5.PC往8266上发送1473字节数据
  3896. 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  3897. 7.PC往8266上发送1472字节数据'
  3898. sub module: UDP
  3899. summary: STA mode, recvfrom basic test
  3900. test environment: SSC_T1_1
  3901. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3902. PC has 1 WiFi NIC.
  3903. 1 SSC target connect with PC by UART.'
  3904. test point 1: basic function
  3905. test point 2: use UDP SAP (socket/espconn API) with different parameter
  3906. version: v1 (2016-8-15)
  3907. - CI ready: 'Yes'
  3908. ID: TCPIP_UDP_0105
  3909. SDK: '8266_NonOS
  3910. 8266_RTOS
  3911. ESP32_IDF'
  3912. Test App: SSC
  3913. allow fail: ''
  3914. auto test: 'Yes'
  3915. category: Function
  3916. cmd set:
  3917. - ''
  3918. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  3919. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  3920. - - SSC SSC1 soc -T -s <sock1>
  3921. - ['R SSC1 RE CLOSE:\d+']
  3922. comment: ''
  3923. execution time: 0.0
  3924. expected result: '1.OK
  3925. 2.OK'
  3926. initial condition: STAM2
  3927. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3928. TC with initial condition STAAP2
  3929. level: Integration
  3930. module: TCPIP
  3931. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  3932. 2.关闭socket1'
  3933. sub module: UDP
  3934. summary: STA mode, close UDP sockets test
  3935. test environment: SSC_T1_1
  3936. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3937. PC has 1 WiFi NIC.
  3938. 1 SSC target connect with PC by UART.'
  3939. test point 1: basic function
  3940. test point 2: use UDP SAP (socket/espconn API) with different parameter
  3941. version: v1 (2016-8-15)
  3942. - CI ready: 'Yes'
  3943. ID: TCPIP_UDP_0106
  3944. SDK: '8266_NonOS
  3945. 8266_RTOS
  3946. ESP32_IDF'
  3947. Test App: SSC
  3948. allow fail: ''
  3949. auto test: 'Yes'
  3950. category: Function
  3951. cmd set:
  3952. - ''
  3953. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  3954. - ['R SSC1 RE BIND:(\d+),OK']
  3955. - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
  3956. - ['R SSC1 RE BIND:(\d+),OK']
  3957. - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
  3958. - ['R SSC1 RE BIND:(\d+),OK']
  3959. - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
  3960. - ['R SSC1 RE BIND:(\d+),OK']
  3961. - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
  3962. - ['R SSC1 RE BIND:(\d+),OK']
  3963. comment: ''
  3964. execution time: 0.0
  3965. expected result: '1.ok
  3966. 2.ok
  3967. 3.ok
  3968. 4.ok
  3969. 5.ok'
  3970. initial condition: STAM2
  3971. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  3972. TC with initial condition STAAP2
  3973. level: Integration
  3974. module: TCPIP
  3975. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  3976. 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
  3977. 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
  3978. 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
  3979. 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
  3980. sub module: UDP
  3981. summary: STA mode, create max udp socket test
  3982. test environment: SSC_T1_1
  3983. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  3984. PC has 1 WiFi NIC.
  3985. 1 SSC target connect with PC by UART.'
  3986. test point 1: basic function
  3987. test point 2: use UDP SAP (socket/espconn API) with different parameter
  3988. version: v1 (2016-8-15)
  3989. - CI ready: 'Yes'
  3990. ID: TCPIP_UDP_0107
  3991. SDK: '8266_NonOS
  3992. 8266_RTOS
  3993. ESP32_IDF'
  3994. Test App: SSC
  3995. allow fail: ''
  3996. auto test: 'Yes'
  3997. category: Function
  3998. cmd set:
  3999. - ''
  4000. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4001. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4002. - - SSC SSC1 soc -I
  4003. - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
  4004. comment: ''
  4005. execution time: 0.0
  4006. expected result: '1.OK
  4007. 2.OK'
  4008. initial condition: STAM2
  4009. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4010. TC with initial condition STAAP2
  4011. level: Integration
  4012. module: TCPIP
  4013. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4014. 2.target1上查询创建socket信息'
  4015. sub module: UDP
  4016. summary: STA mode, get active socket info test
  4017. test environment: SSC_T1_1
  4018. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4019. PC has 1 WiFi NIC.
  4020. 1 SSC target connect with PC by UART.'
  4021. test point 1: basic function
  4022. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4023. version: v1 (2016-8-15)
  4024. - CI ready: 'Yes'
  4025. ID: TCPIP_UDP_0108
  4026. SDK: '8266_NonOS
  4027. 8266_RTOS
  4028. ESP32_IDF'
  4029. Test App: SSC
  4030. allow fail: ''
  4031. auto test: 'Yes'
  4032. category: Function
  4033. cmd set:
  4034. - ''
  4035. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4036. - ['R SSC1 RE BIND:(\d+),OK']
  4037. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
  4038. - ['R SSC1 RE BIND:(\d+),OK']
  4039. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4040. - ['R SSC1 C BIND:ERROR']
  4041. - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
  4042. - ['R SSC1 RE BIND:(\d+),OK']
  4043. comment: ''
  4044. execution time: 0.0
  4045. expected result: '1.OK
  4046. 2.OK
  4047. 3.ERROR
  4048. 4.OK'
  4049. initial condition: APM2
  4050. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  4051. a TC with initial condition APSTA2
  4052. level: Integration
  4053. module: TCPIP
  4054. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4055. 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
  4056. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4057. 4.target1上创建TCP socket3, target_udp_port1'
  4058. sub module: UDP
  4059. summary: AP mode, udp bind test. use different ip, port
  4060. test environment: SSC_T1_1
  4061. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4062. PC has 1 WiFi NIC.
  4063. 1 SSC target connect with PC by UART.'
  4064. test point 1: basic function
  4065. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4066. version: v1 (2016-8-15)
  4067. - CI ready: 'Yes'
  4068. ID: TCPIP_UDP_0109
  4069. SDK: '8266_NonOS
  4070. 8266_RTOS
  4071. ESP32_IDF'
  4072. Test App: SSC
  4073. allow fail: 1/5
  4074. auto test: 'Yes'
  4075. category: Function
  4076. cmd set:
  4077. - ''
  4078. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  4079. - ['R SSC1 C +SAP:OK']
  4080. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  4081. <target_encryption>
  4082. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  4083. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  4084. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  4085. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  4086. - [R SOC_COM L OK]
  4087. - - SSC SSC2 ip
  4088. - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
  4089. - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
  4090. - ['R SSC2 A <sock1>:BIND:(\d+),OK']
  4091. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4092. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  4093. - - SSC SSC1 soc -S -s <sock2> -i <pc_ip_wifi> -p <test_udp_port1> -l 5
  4094. - [R SOC1 UL 5]
  4095. - - SSC SSC1 soc -S -s <sock2> -i <ssc2_ip> -p <test_udp_port2> -l 5
  4096. - ['R SSC2 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock1>,<target_ap_ip>,<test_udp_port1>)']
  4097. comment: ''
  4098. execution time: 0.0
  4099. expected result: '1.OK
  4100. 2.OK
  4101. 3.OK
  4102. 4.OK
  4103. 5.OK'
  4104. initial condition: T2O_1
  4105. initial condition description (auto): same as T2_1 but will NOT autogen a TC with
  4106. initial condition T2_2
  4107. level: Integration
  4108. module: TCPIP
  4109. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  4110. 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  4111. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4112. 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
  4113. 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
  4114. sub module: UDP
  4115. summary: AP mode, sendto test. use different ip, port
  4116. test environment: SSC_T2_1
  4117. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  4118. PC has 1 WiFi NIC.
  4119. 2 SSC target connect with PC by UART.'
  4120. test point 1: basic function
  4121. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4122. version: v1 (2016-8-15)
  4123. - CI ready: 'Yes'
  4124. ID: TCPIP_UDP_0110
  4125. SDK: '8266_NonOS
  4126. 8266_RTOS
  4127. ESP32_IDF'
  4128. Test App: SSC
  4129. allow fail: 1/5
  4130. auto test: 'Yes'
  4131. category: Function
  4132. cmd set:
  4133. - ''
  4134. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  4135. - [R SOC_COM L OK]
  4136. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4137. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4138. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
  4139. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
  4140. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
  4141. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
  4142. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
  4143. - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
  4144. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
  4145. -j 20
  4146. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
  4147. comment: ''
  4148. execution time: 0.0
  4149. expected result: '1.OK
  4150. 2.OK
  4151. 3.OK
  4152. 4.OK
  4153. 5.OK,没收到UDP包
  4154. 6.OK'
  4155. initial condition: APM2
  4156. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  4157. a TC with initial condition APSTA2
  4158. level: Integration
  4159. module: TCPIP
  4160. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  4161. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4162. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  4163. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  4164. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  4165. 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
  4166. sub module: UDP
  4167. summary: AP mode, sendto test with different length
  4168. test environment: SSC_T1_1
  4169. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4170. PC has 1 WiFi NIC.
  4171. 1 SSC target connect with PC by UART.'
  4172. test point 1: basic function
  4173. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4174. version: v1 (2016-8-15)
  4175. - CI ready: 'Yes'
  4176. ID: TCPIP_UDP_0111
  4177. SDK: '8266_NonOS
  4178. 8266_RTOS
  4179. ESP32_IDF'
  4180. Test App: SSC
  4181. allow fail: 1/5
  4182. auto test: 'Yes'
  4183. category: Function
  4184. cmd set:
  4185. - ''
  4186. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  4187. - ['R SSC1 C +SAP:OK']
  4188. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  4189. <target_encryption>
  4190. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  4191. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  4192. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  4193. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  4194. - [R SOC_COM L OK]
  4195. - - SSC SSC2 ip
  4196. - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
  4197. - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
  4198. - ['R SSC2 A <sock1>:BIND:(\d+),OK']
  4199. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4200. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  4201. - - SOC SOC1 SENDTO 5 <test_udp_port1> <target_ap_ip>
  4202. - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<pc_ip_wifi>,<test_udp_port1>)']
  4203. - - SSC SSC2 soc -S -s <sock1> -i <target_ap_ip> -p <test_udp_port1> -l 5
  4204. - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<ssc2_ip>,<test_udp_port2>)']
  4205. comment: ''
  4206. execution time: 0.0
  4207. expected result: '1.OK
  4208. 2.OK
  4209. 3.OK
  4210. 4.OK
  4211. 5.OK,没收到UDP包
  4212. 6.OK
  4213. 7.OK'
  4214. initial condition: T2O_1
  4215. initial condition description (auto): same as T2_1 but will NOT autogen a TC with
  4216. initial condition T2_2
  4217. level: Integration
  4218. module: TCPIP
  4219. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  4220. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4221. 3.PC往8266上发送1字节数据
  4222. 4.PC往8266上发送1472字节数据
  4223. 5.PC往8266上发送1473字节数据
  4224. 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  4225. 7.PC往8266上发送1472字节数据'
  4226. sub module: UDP
  4227. summary: AP mode, recvfrom basic test
  4228. test environment: SSC_T2_1
  4229. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  4230. PC has 1 WiFi NIC.
  4231. 2 SSC target connect with PC by UART.'
  4232. test point 1: basic function
  4233. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4234. version: v1 (2016-8-15)
  4235. - CI ready: 'Yes'
  4236. ID: TCPIP_UDP_0112
  4237. SDK: '8266_NonOS
  4238. 8266_RTOS
  4239. ESP32_IDF'
  4240. Test App: SSC
  4241. allow fail: ''
  4242. auto test: 'Yes'
  4243. category: Function
  4244. cmd set:
  4245. - ''
  4246. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4247. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4248. - - SSC SSC1 soc -T -s <sock1>
  4249. - ['R SSC1 RE CLOSE:\d+']
  4250. comment: ''
  4251. execution time: 0.0
  4252. expected result: '1.OK
  4253. 2.OK'
  4254. initial condition: APM2
  4255. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  4256. a TC with initial condition APSTA2
  4257. level: Integration
  4258. module: TCPIP
  4259. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4260. 2.关闭socket1'
  4261. sub module: UDP
  4262. summary: AP mode, close UDP sockets test
  4263. test environment: SSC_T1_1
  4264. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4265. PC has 1 WiFi NIC.
  4266. 1 SSC target connect with PC by UART.'
  4267. test point 1: basic function
  4268. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4269. version: v1 (2016-8-15)
  4270. - CI ready: 'Yes'
  4271. ID: TCPIP_UDP_0113
  4272. SDK: '8266_NonOS
  4273. 8266_RTOS
  4274. ESP32_IDF'
  4275. Test App: SSC
  4276. allow fail: ''
  4277. auto test: 'Yes'
  4278. category: Function
  4279. cmd set:
  4280. - ''
  4281. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4282. - ['R SSC1 RE BIND:(\d+),OK']
  4283. - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
  4284. - ['R SSC1 RE BIND:(\d+),OK']
  4285. - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
  4286. - ['R SSC1 RE BIND:(\d+),OK']
  4287. - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
  4288. - ['R SSC1 RE BIND:(\d+),OK']
  4289. - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
  4290. - ['R SSC1 RE BIND:(\d+),OK']
  4291. comment: ''
  4292. execution time: 0.0
  4293. expected result: '1.ok
  4294. 2.ok
  4295. 3.ok
  4296. 4.ok
  4297. 5.ok'
  4298. initial condition: APM2
  4299. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  4300. a TC with initial condition APSTA2
  4301. level: Integration
  4302. module: TCPIP
  4303. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4304. 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
  4305. 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
  4306. 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
  4307. 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
  4308. sub module: UDP
  4309. summary: AP mode, create max udp socket test
  4310. test environment: SSC_T1_1
  4311. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4312. PC has 1 WiFi NIC.
  4313. 1 SSC target connect with PC by UART.'
  4314. test point 1: basic function
  4315. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4316. version: v1 (2016-8-15)
  4317. - CI ready: 'Yes'
  4318. ID: TCPIP_UDP_0114
  4319. SDK: '8266_NonOS
  4320. 8266_RTOS
  4321. ESP32_IDF'
  4322. Test App: SSC
  4323. allow fail: ''
  4324. auto test: 'Yes'
  4325. category: Function
  4326. cmd set:
  4327. - ''
  4328. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4329. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4330. - - SSC SSC1 soc -I
  4331. - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
  4332. comment: ''
  4333. execution time: 0.0
  4334. expected result: '1.OK
  4335. 2.OK'
  4336. initial condition: APM2
  4337. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  4338. a TC with initial condition APSTA2
  4339. level: Integration
  4340. module: TCPIP
  4341. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4342. 2.target1上查询创建socket信息'
  4343. sub module: UDP
  4344. summary: AP mode, get active socket info test
  4345. test environment: SSC_T1_1
  4346. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4347. PC has 1 WiFi NIC.
  4348. 1 SSC target connect with PC by UART.'
  4349. test point 1: basic function
  4350. test point 2: use UDP SAP (socket/espconn API) with different parameter
  4351. version: v1 (2016-8-15)
  4352. - CI ready: 'Yes'
  4353. ID: TCPIP_UDP_0201
  4354. SDK: '8266_NonOS
  4355. 8266_RTOS
  4356. ESP32_IDF'
  4357. Test App: SSC
  4358. allow fail: ''
  4359. auto test: 'Yes'
  4360. category: Function
  4361. cmd set:
  4362. - ''
  4363. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4364. - [R SOC_COM L OK]
  4365. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1> -w 0
  4366. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4367. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  4368. - ['']
  4369. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  4370. - ['']
  4371. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  4372. - ['']
  4373. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  4374. - ['']
  4375. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  4376. - ['']
  4377. comment: ''
  4378. execution time: 0.0
  4379. expected result: '1.OK
  4380. 2.OK
  4381. 3.OK
  4382. 4.PC OK
  4383. 5.PC OK
  4384. 6.PC OK
  4385. 7.PC OK
  4386. 8.PC OK SOC_CLOSE=SOC1'
  4387. initial condition: STAM2
  4388. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4389. TC with initial condition STAAP2
  4390. level: Integration
  4391. module: TCPIP
  4392. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  4393. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4394. 3.target1上关闭工作线程
  4395. 4.PC往8266上发送1472字节数据
  4396. 5.PC往8266上发送1472字节数据
  4397. 6.PC往8266上发送1472字节数据
  4398. 7.PC往8266上发送1472字节数据
  4399. 8.PC往8266上发送1472字节数据'
  4400. sub module: UDP
  4401. summary: STA mode, recv buffer test
  4402. test environment: SSC_T1_1
  4403. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4404. PC has 1 WiFi NIC.
  4405. 1 SSC target connect with PC by UART.'
  4406. test point 1: abnormal/special use
  4407. test point 2: use UDP SAP (socket/espconn API) in different state
  4408. version: v2 (2016-10-19)
  4409. - CI ready: 'Yes'
  4410. ID: TCPIP_UDP_0202
  4411. SDK: '8266_NonOS
  4412. 8266_RTOS
  4413. ESP32_IDF'
  4414. Test App: SSC
  4415. allow fail: ''
  4416. auto test: 'Yes'
  4417. category: Function
  4418. cmd set:
  4419. - ''
  4420. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  4421. - [R SOC_COM L OK]
  4422. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4423. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4424. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  4425. - ['']
  4426. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  4427. - ['']
  4428. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  4429. - ['']
  4430. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  4431. - ['']
  4432. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  4433. - ['']
  4434. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  4435. - ['']
  4436. comment: ''
  4437. execution time: 0.0
  4438. expected result: '1.OK
  4439. 2.OK
  4440. 3.OK
  4441. 4.PC OK
  4442. 5.PC OK
  4443. 6.PC OK
  4444. 7.PC OK
  4445. 8.PC OK SOC_CLOSE=SOC1'
  4446. initial condition: APM2
  4447. initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
  4448. a TC with initial condition APSTA2
  4449. level: Integration
  4450. module: TCPIP
  4451. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  4452. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4453. 3.target1上关闭工作线程
  4454. 4.PC往8266上发送1472字节数据
  4455. 5.PC往8266上发送1472字节数据
  4456. 6.PC往8266上发送1472字节数据
  4457. 7.PC往8266上发送1472字节数据
  4458. 8.PC往8266上发送1472字节数据'
  4459. sub module: UDP
  4460. summary: AP mode, recv buffer test
  4461. test environment: SSC_T1_1
  4462. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4463. PC has 1 WiFi NIC.
  4464. 1 SSC target connect with PC by UART.'
  4465. test point 1: abnormal/special use
  4466. test point 2: use UDP SAP (socket/espconn API) in different state
  4467. version: v2 (2016-10-19)
  4468. - CI ready: 'Yes'
  4469. ID: TCPIP_UDP_0301
  4470. SDK: '8266_NonOS
  4471. 8266_RTOS
  4472. ESP32_IDF'
  4473. Test App: SSC
  4474. allow fail: 1/5
  4475. auto test: 'Yes'
  4476. category: Function
  4477. cmd set:
  4478. - ''
  4479. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4480. - [R SOC_COM L OK]
  4481. - - SSC SSC1 soc -B -t UDP -i <target_ip> -p <test_udp_port1>
  4482. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4483. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4484. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  4485. - - SSC SSC1 sta -D
  4486. - ['P SSC1 C +QAP:OK']
  4487. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4488. - ['P SSC1 RE SEND:\d+,ERROR']
  4489. comment: ''
  4490. execution time: 0.0
  4491. expected result: '1.OK
  4492. 2.OK
  4493. 3.OK
  4494. 4.OK
  4495. 5.ERROR'
  4496. initial condition: STAM2
  4497. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4498. TC with initial condition STAAP2
  4499. level: Integration
  4500. module: TCPIP
  4501. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  4502. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4503. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
  4504. 4.断开与AP 连接
  4505. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据'
  4506. sub module: UDP
  4507. summary: do UDP send after WIFI disconnected
  4508. test environment: SSC_T1_1
  4509. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4510. PC has 1 WiFi NIC.
  4511. 1 SSC target connect with PC by UART.'
  4512. test point 1: abnormal/special use
  4513. test point 2: UDP handling abnormal event
  4514. version: v1 (2016-8-15)
  4515. - CI ready: 'Yes'
  4516. ID: TCPIP_UDP_0302
  4517. SDK: '8266_NonOS
  4518. 8266_RTOS
  4519. ESP32_IDF'
  4520. Test App: SSC
  4521. allow fail: 1/5
  4522. auto test: 'Yes'
  4523. category: Function
  4524. cmd set:
  4525. - ''
  4526. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4527. - [R SOC_COM L OK]
  4528. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4529. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4530. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4531. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  4532. - - SSC SSC1 sta -D
  4533. - ['P SSC1 C +QAP:OK']
  4534. - - SSC SSC1 soc -T -s <sock1>
  4535. - ['R SSC1 RE CLOSE:\d+,OK']
  4536. comment: ''
  4537. execution time: 0.0
  4538. expected result: '1.OK
  4539. 2.OK
  4540. 3.OK
  4541. 4.OK
  4542. 5.OK
  4543. '
  4544. initial condition: STAM2
  4545. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4546. TC with initial condition STAAP2
  4547. level: Integration
  4548. module: TCPIP
  4549. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  4550. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  4551. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
  4552. 4.断开与AP 连接
  4553. 5.关闭建立的socket1连接'
  4554. sub module: UDP
  4555. summary: "close UDP socket after WIFI \ndisconnected"
  4556. test environment: SSC_T1_1
  4557. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4558. PC has 1 WiFi NIC.
  4559. 1 SSC target connect with PC by UART.'
  4560. test point 1: abnormal/special use
  4561. test point 2: UDP handling abnormal event
  4562. version: v1 (2016-8-15)
  4563. - CI ready: 'Yes'
  4564. ID: TCPIP_UDP_0303
  4565. SDK: '8266_NonOS
  4566. 8266_RTOS
  4567. ESP32_IDF'
  4568. Test App: SSC
  4569. allow fail: 1/5
  4570. auto test: 'Yes'
  4571. category: Function
  4572. cmd set:
  4573. - ''
  4574. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4575. - [R SOC_COM L OK]
  4576. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4577. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4578. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4579. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  4580. - - SSC SSC1 op -S -o 2
  4581. - ['P SSC1 C +MODE:OK']
  4582. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4583. - ['P SSC1 RE SEND:(\d+),OK']
  4584. comment: ''
  4585. execution time: 0.0
  4586. expected result: '1.OK
  4587. 2.OK
  4588. 3.OK
  4589. 4.OK
  4590. 5.ERROR'
  4591. initial condition: STAM2
  4592. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4593. TC with initial condition STAAP2
  4594. level: Integration
  4595. module: TCPIP
  4596. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  4597. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  4598. 4.修改8266的Mode为softAP mode \n5.8266往PC上发送5字节数据"
  4599. sub module: UDP
  4600. summary: do UDP send after mode changed
  4601. test environment: SSC_T1_1
  4602. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4603. PC has 1 WiFi NIC.
  4604. 1 SSC target connect with PC by UART.'
  4605. test point 1: abnormal/special use
  4606. test point 2: UDP handling abnormal event
  4607. version: v1 (2016-8-15)
  4608. - CI ready: 'Yes'
  4609. ID: TCPIP_UDP_0304
  4610. SDK: '8266_NonOS
  4611. 8266_RTOS
  4612. ESP32_IDF'
  4613. Test App: SSC
  4614. allow fail: 1/5
  4615. auto test: 'Yes'
  4616. category: Function
  4617. cmd set:
  4618. - ''
  4619. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4620. - [R SOC_COM L OK]
  4621. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4622. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4623. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4624. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  4625. - - SSC SSC1 op -S -o 2
  4626. - ['P SSC1 C +MODE:OK']
  4627. - - SSC SSC1 soc -T -s <sock1>
  4628. - ['R SSC1 RE CLOSE:\d+,OK']
  4629. comment: ''
  4630. execution time: 0.0
  4631. expected result: '1.OK
  4632. 2.OK
  4633. 3.OK
  4634. 4.OK
  4635. 5.OK'
  4636. initial condition: STAM2
  4637. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4638. TC with initial condition STAAP2
  4639. level: Integration
  4640. module: TCPIP
  4641. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  4642. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  4643. 4.修改8266的Mode为softAP mode \n5.关闭建立的socket1连接"
  4644. sub module: UDP
  4645. summary: close UDP socket after mode changed
  4646. test environment: SSC_T1_1
  4647. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4648. PC has 1 WiFi NIC.
  4649. 1 SSC target connect with PC by UART.'
  4650. test point 1: abnormal/special use
  4651. test point 2: UDP handling abnormal event
  4652. version: v1 (2016-8-15)
  4653. - CI ready: 'Yes'
  4654. ID: TCPIP_UDP_0305
  4655. SDK: '8266_NonOS
  4656. 8266_RTOS
  4657. ESP32_IDF'
  4658. Test App: SSC
  4659. allow fail: 1/5
  4660. auto test: 'Yes'
  4661. category: Function
  4662. cmd set:
  4663. - ''
  4664. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4665. - [R SOC_COM L OK]
  4666. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4667. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4668. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4669. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  4670. - - NIC <pc_nic> DISABLED
  4671. - [R PC_COM C OK]
  4672. - - SSC SSC1 soc -T -s <sock1>
  4673. - ['R SSC1 RE CLOSE:\d+,OK']
  4674. comment: ''
  4675. execution time: 0.0
  4676. expected result: '1.OK
  4677. 2.OK
  4678. 3.OK
  4679. 4.OK
  4680. 5.OK'
  4681. initial condition: STAM2
  4682. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4683. TC with initial condition STAAP2
  4684. level: Integration
  4685. module: TCPIP
  4686. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  4687. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  4688. 4.PC上网卡禁止掉 \n5.关闭建立的socket1连接"
  4689. sub module: UDP
  4690. summary: close UDP socket after PC NIC disabled
  4691. test environment: SSC_T1_1
  4692. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4693. PC has 1 WiFi NIC.
  4694. 1 SSC target connect with PC by UART.'
  4695. test point 1: abnormal/special use
  4696. test point 2: UDP handling abnormal event
  4697. version: v1 (2016-8-15)
  4698. - CI ready: 'Yes'
  4699. ID: TCPIP_UDP_0306
  4700. SDK: '8266_NonOS
  4701. 8266_RTOS
  4702. ESP32_IDF'
  4703. Test App: SSC
  4704. allow fail: 1/5
  4705. auto test: 'Yes'
  4706. category: Function
  4707. cmd set:
  4708. - ''
  4709. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4710. - [R SOC_COM L OK]
  4711. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4712. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4713. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4714. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  4715. - - SSC SSC1 dhcp -E -o 1
  4716. - ['R SSC1 C +DHCP:STA,OK']
  4717. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  4718. - ['P SSC1 C +IP:OK']
  4719. - - SSC SSC1 ip -Q -o 1
  4720. - ['R SSC1 C +STAIP:192.168.111.210']
  4721. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
  4722. - ['P SSC1 RE SEND:\d+,OK']
  4723. comment: ''
  4724. execution time: 0.0
  4725. expected result: '1.OK
  4726. 2.OK
  4727. 3.OK; PC TCP server accept 成功
  4728. 4.OK
  4729. 5.OK
  4730. 6.OK
  4731. 7.OK'
  4732. initial condition: STAM2
  4733. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4734. TC with initial condition STAAP2
  4735. level: Integration
  4736. module: TCPIP
  4737. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  4738. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  4739. 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
  4740. sub module: UDP
  4741. summary: do UDP send after IP changed
  4742. test environment: SSC_T1_1
  4743. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4744. PC has 1 WiFi NIC.
  4745. 1 SSC target connect with PC by UART.'
  4746. test point 1: abnormal/special use
  4747. test point 2: UDP handling abnormal event
  4748. version: v1 (2016-8-15)
  4749. - CI ready: 'Yes'
  4750. ID: TCPIP_UDP_0307
  4751. SDK: '8266_NonOS
  4752. 8266_RTOS
  4753. ESP32_IDF'
  4754. Test App: SSC
  4755. allow fail: 1/5
  4756. auto test: 'Yes'
  4757. category: Function
  4758. cmd set:
  4759. - ''
  4760. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  4761. - [R SOC_COM L OK]
  4762. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  4763. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  4764. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  4765. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  4766. - - SSC SSC1 dhcp -E -o 1
  4767. - ['R SSC1 C +DHCP:STA,OK']
  4768. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  4769. - ['P SSC1 C +IP:OK']
  4770. - - SSC SSC1 ip -Q -o 1
  4771. - ['R SSC1 C +STAIP:192.168.111.210']
  4772. - - SSC SSC1 soc -T -s <sock1>
  4773. - ['R SSC1 RE CLOSE:\d+,OK']
  4774. comment: ''
  4775. execution time: 0.0
  4776. expected result: '1.OK
  4777. 2.OK
  4778. 3.OK; PC TCP server accept 成功
  4779. 4.OK
  4780. 5.OK
  4781. 6.OK
  4782. 7.OK'
  4783. initial condition: STAM2
  4784. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  4785. TC with initial condition STAAP2
  4786. level: Integration
  4787. module: TCPIP
  4788. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  4789. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  4790. 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
  4791. sub module: UDP
  4792. summary: close UDP socket after IP changed
  4793. test environment: SSC_T1_1
  4794. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  4795. PC has 1 WiFi NIC.
  4796. 1 SSC target connect with PC by UART.'
  4797. test point 1: abnormal/special use
  4798. test point 2: UDP handling abnormal event
  4799. version: v1 (2016-8-15)
  4800. - CI ready: 'Yes'
  4801. ID: TCPIP_UDP_5001
  4802. SDK: '8266_NonOS
  4803. 8266_RTOS
  4804. ESP32_IDF'
  4805. Test App: SSC
  4806. auto test: 'Yes'
  4807. category: Stress
  4808. cmd set:
  4809. - UDPStress/UDPSendRecv
  4810. - - send_len = 1460
  4811. - [dummy]
  4812. - - test_time = 300
  4813. - ['']
  4814. - - duplex = True
  4815. - ['']
  4816. - - conn_num = 5
  4817. - ['']
  4818. - - send_delay = 20
  4819. - ['']
  4820. comment: ''
  4821. execution time: 12.0
  4822. expected result: '1. succeed
  4823. 2. succeed
  4824. 3. succeed'
  4825. initial condition: T2_1
  4826. initial condition description (auto): target 1 as SoftAP, target 2 as STA
  4827. level: Integration
  4828. module: TCPIP
  4829. steps: '1. sta connect to softap
  4830. 2. create multiple udp
  4831. 3. do send/recv on all udp'
  4832. sub module: UDP
  4833. summary: UDP send/recv stress test
  4834. test environment: SSC_T2_1
  4835. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  4836. PC has 1 WiFi NIC.
  4837. 2 SSC target connect with PC by UART.'
  4838. test point 1: stress
  4839. test point 2: UDP stress test
  4840. version: v2 (2016-11-15)
  4841. - CI ready: 'Yes'
  4842. ID: WIFI_ADDR_0101
  4843. SDK: '8266_NonOS
  4844. 8266_RTOS
  4845. ESP32_IDF'
  4846. Test App: SSC
  4847. allow fail: ''
  4848. auto test: 'Yes'
  4849. category: Function
  4850. cmd set:
  4851. - ''
  4852. - - SSC SSC1 op -S -o 3
  4853. - ['R SSC1 C +MODE:OK']
  4854. - - SSC SSC1 mac -S -o 1 -m 44:55:66:77:88:99
  4855. - ['R SSC1 C +MAC:STA,OK']
  4856. - - SSC SSC1 mac -S -o 2 -m 22:33:44:55:66:77
  4857. - ['R SSC1 C +MAC:AP,OK']
  4858. - - SSC SSC1 mac -Q -o 3
  4859. - ['R SSC1 C +STAMAC:44:55:66:77:88:99 C +APMAC:22:33:44:55:66:77']
  4860. - - SSC SSC1 mac -S -o 1 -m <target_mac>
  4861. - ['R SSC1 C +MAC:STA,OK']
  4862. - - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
  4863. - ['R SSC1 C +MAC:AP,OK']
  4864. comment: ''
  4865. execution time: 0.0
  4866. expected result: '1.OK
  4867. 2.ok
  4868. 3.ok
  4869. 4.ok
  4870. 5.ok
  4871. 6.ok'
  4872. initial condition: T2_1
  4873. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  4874. autogen a TC with initial condition T2_2
  4875. level: Integration
  4876. module: WIFI MAC
  4877. steps: "1.target1 设置mode 为sta+softAP mode\n2.target1 设置sta mode 下的mac \n3.target1\
  4878. \ 设置softAP mode 下的mac\n4.target1 查询softAP+sta 下的mac\n5.target1 设置sta mode 下的mac\
  4879. \ 为target1_mac\n6.target1 设置softAP mode 下的mac 为target1_ap_mac\n"
  4880. sub module: MAC Address
  4881. summary: set mac, query mac
  4882. test environment: SSC_T2_1
  4883. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  4884. PC has 1 WiFi NIC.
  4885. 2 SSC target connect with PC by UART.'
  4886. test point 1: basic function
  4887. test point 2: mac address function test
  4888. version: v1 (2016-8-15)
  4889. - CI ready: 'Yes'
  4890. ID: WIFI_ADDR_0102
  4891. SDK: '8266_NonOS
  4892. 8266_RTOS
  4893. ESP32_IDF'
  4894. Test App: SSC
  4895. allow fail: ''
  4896. auto test: 'Yes'
  4897. category: Function
  4898. cmd set:
  4899. - ''
  4900. - - SSC SSC1 mac -S -o 2 -m 44:55:66:77:88:99
  4901. - ['R SSC1 C +MAC:AP,OK']
  4902. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  4903. - ['']
  4904. - - SSC SSC2 sta -S -b 44:55:66:77:88:99
  4905. - ['R SSC2 RE \+SCAN:.+,44:55:66:77:88:99,']
  4906. - - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
  4907. - ['R SSC1 C +MAC:AP,OK']
  4908. - - SSC SSC2 mac -Q -o 1
  4909. - ['R SSC2 A <target2_mac_tmp>:\+STAMAC:(.+)\r\n']
  4910. - - SSC SSC2 mac -S -o 1 -m 22:33:44:55:66:77
  4911. - ['R SSC2 C +MAC:STA,OK']
  4912. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  4913. - ['P SSC2 C +JAP:CONNECTED']
  4914. - - SSC SSC1 ap -L
  4915. - ['R SSC1 C +LSTA:22:33:44:55:66:77']
  4916. - - SSC SSC2 mac -S -o 1 -m <target2_mac>
  4917. - ['R SSC2 C +MAC:STA,OK']
  4918. comment: ''
  4919. execution time: 0.0
  4920. expected result: '1.OK
  4921. 2.ok
  4922. 3.ok
  4923. 4.ok
  4924. 5.ok
  4925. 6.ok
  4926. 7.ok
  4927. 8.ok
  4928. 9.ok'
  4929. initial condition: T2_1
  4930. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  4931. autogen a TC with initial condition T2_2
  4932. level: Integration
  4933. module: WIFI MAC
  4934. steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n\
  4935. 3.target2 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n\
  4936. 5.target2 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n\
  4937. 7.target2 jap target1\n8.target1 查询连接到的sta \n9.target2 设置sta mode 下的mac 为 target2_mac\n"
  4938. sub module: MAC Address
  4939. summary: set mac and do scan/JAP/SAP
  4940. test environment: SSC_T2_1
  4941. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  4942. PC has 1 WiFi NIC.
  4943. 2 SSC target connect with PC by UART.'
  4944. test point 1: basic function
  4945. test point 2: mac address function test
  4946. version: v1 (2016-8-15)
  4947. - CI ready: 'Yes'
  4948. ID: WIFI_CONN_0101
  4949. SDK: '8266_NonOS
  4950. 8266_RTOS
  4951. ESP32_IDF'
  4952. Test App: SSC
  4953. allow fail: ''
  4954. auto test: 'Yes'
  4955. category: Function
  4956. cmd set:
  4957. - ''
  4958. - - SSC SSC1 ap -S -s <target_ssid> -t 0
  4959. - ['R SSC1 C +SAP:OK']
  4960. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  4961. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  4962. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 2
  4963. - ['R SSC1 C +SAP:OK']
  4964. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  4965. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  4966. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  4967. - ['R SSC1 C +SAP:OK']
  4968. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  4969. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  4970. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 4
  4971. - ['R SSC1 C +SAP:OK']
  4972. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  4973. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  4974. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 1
  4975. - ['R SSC1 C +SAP:OK']
  4976. - - SSC SSC2 sta -S
  4977. - ['R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>)']
  4978. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 5
  4979. - ['R SSC1 C +SAP:OK']
  4980. - - SSC SSC2 sta -S
  4981. - ['R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>)']
  4982. comment: ''
  4983. execution time: 0.0
  4984. expected result: "1.target1 set AP,open, \n2.target 2 jap succeed\n3.target1 set\
  4985. \ AP,wpa_psk \n4.target 2 jap succeed\n5.target1 set AP, wpa2_psk \n6.target 2\
  4986. \ jap succeed\n7.target1 set AP,wap_wpa2_psk\n8.target 2 jap succeed\n9.target1\
  4987. \ set AP,加密方式为t 1\n10.target 2 上查询到target_ssid\n11.target1 set AP,加密方式为t 5\n12.target\
  4988. \ 2 上查询到target_ssid"
  4989. initial condition: T2_1
  4990. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  4991. autogen a TC with initial condition T2_2
  4992. level: Integration
  4993. module: WIFI MAC
  4994. steps: "1.target1下设置ssid 和pwd,加密方式 open\n2.target2 jap target1\n3.target1下设置ssid\
  4995. \ 和pwd,加密方式 wpa_psk \n4.target2 jap target1\n5.target1下设置ssid 和pwd,加密方式 wpa2_psk\
  4996. \ \n6.target 2 jap target1\n7.target1下设置ssid 和pwd,加密方式 wap_wpa2_psk\n8.target2\
  4997. \ jap target1\n9.target1下设置ssid 和pwd,加密方式 wep \n10.target2上查询target_ssid\n11.target1下设置ssid\
  4998. \ 和pwd,加密方式 t 5 错误的加密方式\n12.target2上查询 target_ssid"
  4999. sub module: WIFI Connect
  5000. summary: station SAP+JAP test, different encryption
  5001. test environment: SSC_T2_1
  5002. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5003. PC has 1 WiFi NIC.
  5004. 2 SSC target connect with PC by UART.'
  5005. test point 1: basic function
  5006. test point 2: SAP/JAP with different config
  5007. version: v1 (2016-8-15)
  5008. - CI ready: 'Yes'
  5009. ID: WIFI_CONN_0102
  5010. SDK: '8266_NonOS
  5011. 8266_RTOS
  5012. ESP32_IDF'
  5013. Test App: SSC
  5014. allow fail: ''
  5015. auto test: 'Yes'
  5016. category: Function
  5017. cmd set:
  5018. - ''
  5019. - - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 1
  5020. - ['R SSC1 C +SAP:OK']
  5021. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5022. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  5023. - - SSC SSC1 ap -S -s <target_ssid> -t 0 -n 13
  5024. - ['R SSC1 C +SAP:OK']
  5025. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5026. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  5027. - - SSC SSC1 ap -S -s <target_ssid> -n 15
  5028. - ['R SSC1 C +SAP:OK']
  5029. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5030. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  5031. - - SSC SSC2 sta -S
  5032. - ['R SSC2 RE "\+SCAN:%%s,.+,\d+,1"%%(<target_ssid>)']
  5033. comment: ''
  5034. execution time: 0.0
  5035. expected result: '1. target1 set AP,set channel 1
  5036. 2.target 2 jap succeed
  5037. 3.target1 set AP,set channel 10
  5038. 4.target 2 jap succeed
  5039. 5.target1 set AP,set channel 15
  5040. 6.target 2 上查询到target_ssid'
  5041. initial condition: T2O_1
  5042. initial condition description (auto): same as T2_1 but will NOT autogen a TC with
  5043. initial condition T2_2
  5044. level: Integration
  5045. module: WIFI MAC
  5046. steps: '1. target1下设置ssid 和pwd 加密方式,set channel 1
  5047. 2.target2 jap target 1
  5048. 3.target1下设置ssid 和pwd 加密方式,set channel 10
  5049. 4.target2 jap target 1
  5050. 5.target1下设置ssid 和pwd 加密方式,set channel 15
  5051. 6.target 2 上查询target_ssid'
  5052. sub module: WIFI Connect
  5053. summary: station SAP+JAP test, different channel
  5054. test environment: SSC_T2_1
  5055. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5056. PC has 1 WiFi NIC.
  5057. 2 SSC target connect with PC by UART.'
  5058. test point 1: basic function
  5059. test point 2: SAP/JAP with different config
  5060. version: v1 (2016-8-15)
  5061. - CI ready: 'Yes'
  5062. ID: WIFI_CONN_0103
  5063. SDK: '8266_NonOS
  5064. 8266_RTOS
  5065. ESP32_IDF'
  5066. Test App: SSC
  5067. allow fail: ''
  5068. auto test: 'Yes'
  5069. category: Function
  5070. cmd set:
  5071. - ''
  5072. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
  5073. 0
  5074. - ['R SSC1 C +SAP:OK']
  5075. - - SSC SSC2 sta -S -h 0
  5076. - [R SSC2 P <target_ap_mac>, R SSC2 C +SCANDONE]
  5077. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
  5078. 1
  5079. - ['R SSC1 C +SAP:OK']
  5080. - - DELAY 3
  5081. - ['']
  5082. - - SSC SSC2 sta -S -h 0
  5083. - [R SSC2 C +SCANDONE]
  5084. - - DELAY 3
  5085. - ['']
  5086. - - SSC SSC2 sta -S -h 0
  5087. - [R SSC2 NP <target_ap_mac> C +SCANDONE]
  5088. comment: ''
  5089. execution time: 0.0
  5090. expected result: '1.target1 set AP,set ssid broad cast
  5091. 2.target 2上scan target_ap_mac
  5092. 3.target1 set AP,set ssid hidden,
  5093. 4.target 2上不能scan target_ap_mac'
  5094. initial condition: T2_1
  5095. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  5096. autogen a TC with initial condition T2_2
  5097. level: Integration
  5098. module: WIFI MAC
  5099. steps: '1. target1下设置ssid 和pwd 加密方式,set ssid broad cast
  5100. 2.target 2上scan target_ap_mac
  5101. 3. target1下设置ssid 和pwd 加密方式,set ssid hidden,
  5102. 4.target 2上scan target_ap_mac'
  5103. sub module: WIFI Connect
  5104. summary: station SAP+JAP test, ssid hidden
  5105. test environment: SSC_T2_1
  5106. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5107. PC has 1 WiFi NIC.
  5108. 2 SSC target connect with PC by UART.'
  5109. test point 1: basic function
  5110. test point 2: SAP/JAP with different config
  5111. version: v1 (2016-8-15)
  5112. - CI ready: 'Yes'
  5113. ID: WIFI_CONN_0104
  5114. SDK: '8266_NonOS
  5115. 8266_RTOS
  5116. ESP32_IDF'
  5117. Test App: SSC
  5118. allow fail: ''
  5119. auto test: 'Yes'
  5120. category: Function
  5121. cmd set:
  5122. - ''
  5123. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -m
  5124. 1
  5125. - ['R SSC1 C +SAP:OK']
  5126. - - WIFI <pc_wifi_nic> DISCONN
  5127. - ['R PC_COM C +WIFIDISCONN:OK']
  5128. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5129. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  5130. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  5131. <target_encryption>
  5132. - ['R PC_COM C +WIFICONN:ERROR']
  5133. comment: ''
  5134. execution time: 0.0
  5135. expected result: '1. target1 set AP,set max allowed sta as 1
  5136. 2. use PC disconnect,
  5137. 3.target 2 jap succeed
  5138. 4.PC WIFI can not CONN'
  5139. initial condition: T2_1
  5140. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  5141. autogen a TC with initial condition T2_2
  5142. level: Integration
  5143. module: WIFI MAC
  5144. steps: '1.target1下设置ssid 和pwd 加密方式,set max allowed sta as 1
  5145. 2.use PC disconnect target1
  5146. 3.target 2 jap target1
  5147. 4.PC WIFI CONNECT target1'
  5148. sub module: WIFI Connect
  5149. summary: station SAP test, max allowed sta
  5150. test environment: SSC_T2_1
  5151. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5152. PC has 1 WiFi NIC.
  5153. 2 SSC target connect with PC by UART.'
  5154. test point 1: basic function
  5155. test point 2: SAP/JAP with different config
  5156. version: v1 (2016-8-15)
  5157. - CI ready: 'Yes'
  5158. ID: WIFI_CONN_0201
  5159. SDK: '8266_NonOS
  5160. 8266_RTOS
  5161. ESP32_IDF'
  5162. Test App: SSC
  5163. allow fail: ''
  5164. auto test: 'Yes'
  5165. category: Function
  5166. cmd set:
  5167. - ''
  5168. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  5169. - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
  5170. - - SSC SSC1 sta -Q
  5171. - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
  5172. - - SSC SSC1 sta -D
  5173. - ['R SSC1 C +QAP:OK']
  5174. - - SSC SSC1 sta -Q
  5175. - ['R SSC1 C +JAP:DISCONNECTED']
  5176. comment: ''
  5177. execution time: 0.0
  5178. expected result: '1.target1 jion AP 成功
  5179. 2.查询JAP的状态
  5180. 3.target1 断开AP
  5181. 4.查询target1 JAP 是DISCONN'
  5182. initial condition: STAM1
  5183. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  5184. TC with initial condition STAAP1
  5185. level: Integration
  5186. module: WIFI MAC
  5187. steps: '1.target1 jion AP 成功
  5188. 2.查询JAP的状态
  5189. 3.target1 断开AP
  5190. 4.查询target1 JAP 是DISCONN'
  5191. sub module: WIFI Connect
  5192. summary: JAP query test
  5193. test environment: SSC_T1_1
  5194. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  5195. PC has 1 WiFi NIC.
  5196. 1 SSC target connect with PC by UART.'
  5197. test point 1: basic function
  5198. test point 2: query JAP status
  5199. version: v1 (2016-8-15)
  5200. - CI ready: 'Yes'
  5201. ID: WIFI_CONN_0301
  5202. SDK: '8266_NonOS
  5203. 8266_RTOS
  5204. ESP32_IDF'
  5205. Test App: SSC
  5206. allow fail: ''
  5207. auto test: 'Yes'
  5208. category: Function
  5209. cmd set:
  5210. - ''
  5211. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
  5212. 0 -m 8
  5213. - ['R SSC1 C +SAP:OK']
  5214. - - SSC SSC1 ap -Q
  5215. - ['R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,3,0,8,\d+"%%(<target_ssid>,<target_password>)']
  5216. comment: ''
  5217. execution time: 0.0
  5218. expected result: '1. target1 set AP
  5219. 2.target 1上查询到跟设置AP时一致
  5220. '
  5221. initial condition: APM1
  5222. initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
  5223. condition APSTA1
  5224. level: Integration
  5225. module: WIFI MAC
  5226. steps: '1. target1 set AP
  5227. 2.target 1上查询到跟设置AP时一致
  5228. '
  5229. sub module: WIFI Connect
  5230. summary: AP config query test
  5231. test environment: SSC_T1_1
  5232. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  5233. PC has 1 WiFi NIC.
  5234. 1 SSC target connect with PC by UART.'
  5235. test point 1: basic function
  5236. test point 2: query AP config
  5237. version: v1 (2016-8-15)
  5238. - CI ready: 'Yes'
  5239. ID: WIFI_CONN_0401
  5240. SDK: '8266_NonOS
  5241. 8266_RTOS
  5242. ESP32_IDF'
  5243. Test App: SSC
  5244. allow fail: ''
  5245. auto test: 'Yes'
  5246. category: Function
  5247. cmd set:
  5248. - ''
  5249. - - SSC SSC1 sta -R -a 0
  5250. - ['R SSC1 C +AUTORECONN:OK']
  5251. - - SSC SSC1 sta -R -a 2
  5252. - ['R SSC1 C +AUTORECONN:0']
  5253. - - SSC SSC1 reboot
  5254. - ['']
  5255. - - DELAY 15
  5256. - ['']
  5257. - - SSC SSC1 sta -Q
  5258. - ['R SSC1 C JAP:DISCONNECTED']
  5259. - - SSC SSC1 sta -R -a 1
  5260. - ['R SSC1 C +AUTORECONN:OK']
  5261. - - SSC SSC1 sta -R -a 2
  5262. - ['R SSC1 C +AUTORECONN:1']
  5263. - - SSC SSC1 reboot
  5264. - ['R SSC1 C +JAP:CONNECTED']
  5265. comment: ''
  5266. execution time: 0.0
  5267. expected result: '1.设置autoreconn,关闭
  5268. 2.查询当前autoreconn状态是否关闭
  5269. 3.重启系统,等待15s
  5270. 4.查询target1 未自动重连AP
  5271. 5.设置autoreconn,开启
  5272. 6.查询当前autoreconn状态是否开启
  5273. 7.系统重启后target1 自动重连AP'
  5274. initial condition: STAM2
  5275. initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
  5276. TC with initial condition STAAP2
  5277. level: Integration
  5278. module: WIFI MAC
  5279. steps: '1.设置autoreconn,关闭
  5280. 2.查询当前autoreconn状态是否关闭
  5281. 3.重启系统,等待15s
  5282. 4.查询target1 未自动重连AP
  5283. 5.设置autoreconn,开启
  5284. 6.查询当前autoreconn状态是否开启
  5285. 7.系统重启后target1 自动重连AP'
  5286. sub module: WIFI Connect
  5287. summary: auto reconnect test
  5288. test environment: SSC_T1_1
  5289. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  5290. PC has 1 WiFi NIC.
  5291. 1 SSC target connect with PC by UART.'
  5292. test point 1: basic function
  5293. test point 2: power on auto reconnect test
  5294. version: v1 (2016-8-15)
  5295. - CI ready: 'Yes'
  5296. ID: WIFI_CONN_0501
  5297. SDK: '8266_NonOS
  5298. 8266_RTOS
  5299. ESP32_IDF'
  5300. Test App: SSC
  5301. allow fail: ''
  5302. auto test: 'Yes'
  5303. category: Function
  5304. cmd set:
  5305. - ''
  5306. - - SSC SSC2 sta -R -r 1
  5307. - ['R SSC2 C +RECONN:OK']
  5308. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  5309. - ['R SSC1 C +SAP:OK']
  5310. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5311. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  5312. - - SSC SSC1 op -S -o 1
  5313. - ['R SSC1 C +MODE:OK']
  5314. - - DELAY 10
  5315. - ['']
  5316. - - SSC SSC1 op -S -o 2
  5317. - ['R SSC1 C +MODE:OK']
  5318. - - DELAY 15
  5319. - ['R SSC2 C +JAP:CONNECTED']
  5320. - - SSC SSC2 sta -R -r 0
  5321. - ['R SSC2 C +RECONN:OK']
  5322. - - SSC SSC2 sta -R -r 2
  5323. - ['R SSC2 C +RECONN:0']
  5324. - - SSC SSC1 op -S -o 1
  5325. - ['R SSC1 C +MODE:OK']
  5326. - - DELAY 10
  5327. - ['']
  5328. - - SSC SSC1 op -S -o 2
  5329. - ['R SSC1 C +MODE:OK']
  5330. - - DELAY 15
  5331. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  5332. - - SSC SSC2 sta -R -r 1
  5333. - ['R SSC2 C +RECONN:OK']
  5334. comment: ''
  5335. execution time: 0.0
  5336. expected result: '1.设置reconn,开启(此功能不需要重启系统)
  5337. 2.target1 set AP
  5338. 3.target2 JAP target1 成功
  5339. 4.target2 断开target1 连接
  5340. 5.等待10s,target2 自动重连target1
  5341. 6.成功
  5342. 7.查询reconn状态,关闭
  5343. 8.修改mode 成功
  5344. 9.等待15s,target2 不会自动重连target1'
  5345. initial condition: T2_1
  5346. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  5347. autogen a TC with initial condition T2_2
  5348. level: Integration
  5349. module: WIFI MAC
  5350. steps: "1.设置reconn,开启(此功能不需要重启系统)\n2.target1下设置ssid 和pwd 加密方式\n3.target2 JAP target1\
  5351. \ \n4.target1 修改mode 为sta mode\n5.等待10s,target1 修改mode 为softAP mode\n6.设置reconn,关闭\n\
  5352. 7.查询reconn状态,关闭\n8.target1 修改mode 为sta mode\n9.等待15s,target1 修改mode 为softAP mode"
  5353. sub module: WIFI Connect
  5354. summary: reconnect policy test
  5355. test environment: SSC_T2_1
  5356. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5357. PC has 1 WiFi NIC.
  5358. 2 SSC target connect with PC by UART.'
  5359. test point 1: basic function
  5360. test point 2: reconnect policy test
  5361. version: v1 (2016-8-15)
  5362. - CI ready: 'Yes'
  5363. ID: WIFI_CONN_0502
  5364. SDK: '8266_NonOS
  5365. 8266_RTOS
  5366. ESP32_IDF'
  5367. Test App: SSC
  5368. allow fail: ''
  5369. auto test: 'Yes'
  5370. category: Function
  5371. cmd set:
  5372. - ''
  5373. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  5374. - ['R SSC1 C +SAP:OK']
  5375. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5376. - ['R SSC2 C +JAP:CONNECTED']
  5377. - - SSC SSC2 sta -R -r 1
  5378. - ['R SSC2 C +RECONN:OK']
  5379. - - SSC SSC1 op -S -o 1
  5380. - ['R SSC1 C +MODE:OK']
  5381. - - DELAY 5
  5382. - ['R SSC2 C +JAP:DISCONNECTED']
  5383. - - SSC SSC1 op -S -o 2
  5384. - ['R SSC1 C +MODE:OK']
  5385. - - DELAY 10
  5386. - ['R SSC2 C +JAP:CONNECTED']
  5387. - - SSC SSC2 sta -D
  5388. - ['R SSC2 C +QAP:OK']
  5389. - - DELAY 10
  5390. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  5391. comment: ''
  5392. execution time: 0.0
  5393. expected result: '1.target1 set AP
  5394. 2.target2 jap target 1
  5395. 3.设置reconn,开启(此功能不需要重启系统)
  5396. 4.target2 断开target1 连接
  5397. 5.等待10s,target2 自动重连target1
  5398. 6.target2 断开target1 连接'
  5399. initial condition: T2_1
  5400. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  5401. autogen a TC with initial condition T2_2
  5402. level: Integration
  5403. module: WIFI MAC
  5404. steps: '1.target1下设置ssid 和pwd 加密方式
  5405. 2.target2 jap target 1
  5406. 3.设置reconn,开启(此功能不需要重启系统)
  5407. 4.target2 断开target1 连接
  5408. 5.等待10s,target2 自动重连target1
  5409. 6.target2 断开target1 连接'
  5410. sub module: WIFI Connect
  5411. summary: will not do reconnect after manually disconnected
  5412. test environment: SSC_T2_1
  5413. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5414. PC has 1 WiFi NIC.
  5415. 2 SSC target connect with PC by UART.'
  5416. test point 1: abnormal/special use
  5417. test point 2: reconnect policy test
  5418. version: v1 (2016-8-15)
  5419. - CI ready: 'Yes'
  5420. ID: WIFI_CONN_0601
  5421. SDK: '8266_NonOS
  5422. 8266_RTOS
  5423. ESP32_IDF'
  5424. Test App: SSC
  5425. allow fail: ''
  5426. auto test: 'Yes'
  5427. category: Function
  5428. cmd set:
  5429. - ''
  5430. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  5431. - ['R SSC1 C +SAP:OK']
  5432. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  5433. <target_encryption>
  5434. - ['R PC_COM C +WIFICONN:OK']
  5435. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5436. - ['R SSC2 C +JAP:CONNECTED']
  5437. - - SSC SSC1 ap -L
  5438. - ['R SSC1 C +LSTA:', 'R SSC1 C +LSTA:', R SSC1 C +LSTADONE]
  5439. comment: ''
  5440. execution time: 0.0
  5441. expected result: '1.target1 set AP
  5442. 2.PC WIFI CONNECTED
  5443. 3.target2 jap target 1
  5444. 4.查询到两个sta 连接到target1 上'
  5445. initial condition: T2_1
  5446. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  5447. autogen a TC with initial condition T2_2
  5448. level: Integration
  5449. module: WIFI MAC
  5450. steps: '1. target1下设置ssid 和pwd 加密方式
  5451. 2.PC WIFI CONNECTED target1
  5452. 3.target2 jap target 1
  5453. 4.查询到两个sta 连接到target1 上'
  5454. sub module: WIFI Connect
  5455. summary: list stations connected to soft ap test
  5456. test environment: SSC_T2_1
  5457. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5458. PC has 1 WiFi NIC.
  5459. 2 SSC target connect with PC by UART.'
  5460. test point 1: basic function
  5461. test point 2: list SoftAP connected station
  5462. version: v1 (2016-8-15)
  5463. - CI ready: 'Yes'
  5464. ID: WIFI_CONN_0801
  5465. SDK: '8266_NonOS
  5466. 8266_RTOS
  5467. ESP32_IDF'
  5468. Test App: SSC
  5469. allow fail: ''
  5470. auto test: 'Yes'
  5471. category: Function
  5472. cmd set:
  5473. - ''
  5474. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
  5475. - ['R SSC1 C +SAP:OK']
  5476. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  5477. - ['R SSC2 C +JAP:CONNECTED']
  5478. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 2
  5479. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,2,0']
  5480. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3
  5481. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,3,2']
  5482. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  5483. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,4,3']
  5484. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
  5485. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,0,4']
  5486. comment: ''
  5487. execution time: 0.0
  5488. expected result: '1. succeed
  5489. 2. succeed
  5490. 3. auth change event old mode 0 new mode 2
  5491. 4. auth change event old mode 2 new mode 3
  5492. 5. auth change event old mode 3 new mode 4
  5493. 6. auth change event old mode 4 new mode 0'
  5494. initial condition: T2_1
  5495. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  5496. autogen a TC with initial condition T2_2
  5497. level: Integration
  5498. module: WIFI MAC
  5499. steps: '1. set target1 softap auth mode 0
  5500. 2. target2 connect to target1
  5501. 3. set target1 softap auth mode 2, wait sta connected
  5502. 4. set target1 softap auth mode 3, wait sta connected
  5503. 5. set target1 softap auth mode 4, wait sta connected
  5504. 6. set target1 softap auth mode 0, wait sta connected'
  5505. sub module: WIFI Connect
  5506. summary: test auth change event
  5507. test environment: SSC_T2_1
  5508. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5509. PC has 1 WiFi NIC.
  5510. 2 SSC target connect with PC by UART.'
  5511. test point 1: basic function
  5512. test point 2: wifi auth changed event test
  5513. version: v1 (2016-8-15)
  5514. - CI ready: 'Yes'
  5515. ID: WIFI_CONN_0901
  5516. SDK: '8266_NonOS
  5517. 8266_RTOS
  5518. ESP32_IDF'
  5519. Test App: basic function
  5520. allow fail: ''
  5521. auto test: 'Yes'
  5522. category: Function
  5523. cmd set:
  5524. - ''
  5525. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  5526. - ['R SSC1 C +JAP:CONNECTED']
  5527. - - SSC SSC1 sta -D
  5528. - ['R SSC1 RE JAP:DISCONNECTED,\d+,8']
  5529. - - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
  5530. - ['R SSC1 RE JAP:DISCONNECTED,\d+,15']
  5531. - - SSC SSC1 sta -C -s <random_string> -p <ap_password>
  5532. - ['R SSC1 RE JAP:DISCONNECTED,\d+,201']
  5533. comment: ''
  5534. execution time: 0.0
  5535. expected result: '1. disconnect event reason REASON_ASSOC_LEAVE
  5536. 2. disconnect event reason REASON_4WAY_HANDSHAKE_TIMEOUT
  5537. 3. disconnect event reason REASON_NO_AP_FOUND'
  5538. initial condition: STAM1
  5539. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  5540. TC with initial condition STAAP1
  5541. level: Integration
  5542. module: WIFI MAC
  5543. steps: '1. sta connect to AP, and disconnect
  5544. 2. connect to AP with wrong password
  5545. 3. connect to AP not exist'
  5546. sub module: WIFI Connect
  5547. summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_4WAY_HANDSHAKE_TIMEOUT,
  5548. REASON_NO_AP_FOUND
  5549. test environment: SSC_T1_1
  5550. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  5551. PC has 1 WiFi NIC.
  5552. 1 SSC target connect with PC by UART.'
  5553. test point 1: basic function
  5554. test point 2: wifi disconnect reason test
  5555. version: v1 (2016-8-15)
  5556. - CI ready: 'Yes'
  5557. ID: WIFI_CONN_0902
  5558. SDK: '8266_NonOS
  5559. 8266_RTOS
  5560. ESP32_IDF'
  5561. Test App: SSC
  5562. allow fail: ''
  5563. auto test: 'Yes'
  5564. category: Function
  5565. cmd set:
  5566. - ''
  5567. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  5568. - ['R SSC1 C +JAP:CONNECTED']
  5569. - - APC <APC1> OFF <ap_apc>
  5570. - [P PC_COM L OK, 'R SSC1 RE JAP:DISCONNECTED,\d+,200']
  5571. - - APC <APC1> ON <ap_apc>
  5572. - [P PC_COM L OK]
  5573. comment: ''
  5574. execution time: 0.0
  5575. expected result: '1. succeed
  5576. 2. disconnect event REASON_BEACON_TIMEOUT'
  5577. initial condition: STAM1
  5578. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  5579. TC with initial condition STAAP1
  5580. level: Integration
  5581. module: WIFI MAC
  5582. steps: '1. connect to AP
  5583. 2. AP power off'
  5584. sub module: WIFI Connect
  5585. summary: test wifi disconnect reason REASON_BEACON_TIMEOUT
  5586. test environment: SSC_T1_APC
  5587. test environment description (auto): "PC has 1 wired NIC connected to AP.\nPC has\
  5588. \ 1 wired NIC connected to APC (static IP within the same subnet with APC). \n\
  5589. APC control AP power supply. \nPC has 1 WiFi NIC. \n1 SSC target connect with\
  5590. \ PC by UART."
  5591. test point 1: basic function
  5592. test point 2: wifi disconnect reason test
  5593. version: v1 (2016-8-15)
  5594. - CI ready: 'Yes'
  5595. ID: WIFI_CONN_0903
  5596. SDK: '8266_NonOS
  5597. 8266_RTOS
  5598. ESP32_IDF'
  5599. Test App: SSC
  5600. allow fail: ''
  5601. auto test: 'Yes'
  5602. category: Function
  5603. cmd set:
  5604. - ''
  5605. - - SSC SSC1 sta -C -s <wep_ap_ssid> -p bacfd
  5606. - ['R SSC1 RE JAP:DISCONNECTED,\d+,2']
  5607. comment: ''
  5608. execution time: 0.0
  5609. expected result: 1. disconect event reason REASON_AUTH_EXPIRE
  5610. initial condition: STAM1
  5611. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  5612. TC with initial condition STAAP1
  5613. level: Integration
  5614. module: WIFI MAC
  5615. steps: 1. connect WEP ap with error password (valid wep password)
  5616. sub module: WIFI Connect
  5617. summary: test wifi disconnect reason REASON_AUTH_EXPIRE
  5618. test environment: SSC_T1_WEP
  5619. test environment description (auto): '1 SSC target connect with PC by UART.
  5620. One WEP share key AP placed near SSC1.'
  5621. test point 1: basic function
  5622. test point 2: wifi disconnect reason test
  5623. version: v1 (2016-8-15)
  5624. - CI ready: 'Yes'
  5625. ID: WIFI_CONN_0904
  5626. SDK: '8266_NonOS
  5627. 8266_RTOS
  5628. ESP32_IDF'
  5629. Test App: SSC
  5630. allow fail: ''
  5631. auto test: 'Yes'
  5632. category: Function
  5633. cmd set:
  5634. - ''
  5635. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
  5636. - ['R SSC1 C +SAP:OK']
  5637. - - SSC SSC2 sta -C -s <random_string> -p 1234567890
  5638. - ['R SSC2 RE JAP:DISCONNECTED,\d+,204']
  5639. - - SSC SSC2 sta -D
  5640. - ['R SSC2 C +QAP:OK']
  5641. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> <pc_ip_wifi>
  5642. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  5643. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  5644. - ['R SSC2 RE JAP:DISCONNECTED,\d+,5']
  5645. - - WIFI <pc_wifi_nic> DISCONN
  5646. - [P PC_COM C OK, 'R SSC2 C +JAP:CONNECTED']
  5647. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
  5648. - ['P SSC1 C +SAP:OK', 'P SSC2 RE JAP:DISCONNECTED,\d+,4']
  5649. comment: ''
  5650. execution time: 0.0
  5651. expected result: '1. succeed
  5652. 2. disconnect event REASON_HANDSHAKE_TIMEOUT
  5653. 3. succeed
  5654. 4. succeed
  5655. 5. disconnect event REASON_ASSOC_TOOMANY
  5656. 6. succeed, target2 connect succeed
  5657. 7. disconnect event REASON_ASSOC_EXPIRE'
  5658. initial condition: T2_1
  5659. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  5660. autogen a TC with initial condition T2_2
  5661. level: Integration
  5662. module: WIFI MAC
  5663. steps: '1. config target1 softap max sta allowed 1
  5664. 2. target2 connect to target1 with wrong password
  5665. 3. target2 disconnect
  5666. 4. PC WIFI NIC connect to target1
  5667. 5. target2 connect to target1 with correct password
  5668. 6. PC WIFI NIC disconnect
  5669. 7. reconfig softap'
  5670. sub module: WIFI Connect
  5671. summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT,
  5672. REASON_ASSOC_EXPIRE
  5673. test environment: SSC_T2_1
  5674. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5675. PC has 1 WiFi NIC.
  5676. 2 SSC target connect with PC by UART.'
  5677. test point 1: basic function
  5678. test point 2: wifi disconnect reason test
  5679. version: v1 (2016-8-15)
  5680. - CI ready: 'Yes'
  5681. ID: WIFI_CONN_5101
  5682. SDK: '8266_NonOS
  5683. 8266_RTOS
  5684. ESP32_IDF'
  5685. Test App: SSC
  5686. auto test: 'Yes'
  5687. category: Stress
  5688. cmd set:
  5689. - WiFiStress/SoftAPNSTA
  5690. - - sta_num = 4
  5691. - [dummy]
  5692. - - max_sta = 4
  5693. - ['']
  5694. - - test_time = 300
  5695. - ['']
  5696. - - delay1 = [0, 1]
  5697. - ['']
  5698. - - delay2 = [0, 1]
  5699. - ['']
  5700. - - change_mac = True
  5701. - ['']
  5702. - - channel = 1
  5703. - ['']
  5704. comment: ''
  5705. execution time: 5.0
  5706. expected result: '1. succeed
  5707. 2. JAP succeed'
  5708. initial condition: None
  5709. initial condition description (auto): none
  5710. level: Integration
  5711. module: WIFI MAC
  5712. steps: '1. 1 target set to softap mode and rest set to sta mode
  5713. 2. all sta random join and disconnect from softap
  5714. Loop step 2'
  5715. sub module: WIFI Connect
  5716. summary: max sta connect to SotfAP and disconnect
  5717. test environment: SSC_T5_1
  5718. test environment description (auto): 5 SSC target connect with PC by UART.
  5719. test point 1: stress
  5720. test point 2: SoftAP WIFI connect/disconnect stress test
  5721. version: v2 (2016-11-15)
  5722. - CI ready: 'Yes'
  5723. ID: WIFI_MODE_0101
  5724. SDK: '8266_NonOS
  5725. 8266_RTOS
  5726. ESP32_IDF'
  5727. Test App: SSC
  5728. allow fail: ''
  5729. auto test: 'Yes'
  5730. category: Function
  5731. cmd set:
  5732. - ''
  5733. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  5734. - ['R SSC1 C +SAP:OK']
  5735. - - SSC SSC1 op -S -o 1
  5736. - ['R SSC1 C +MODE:OK']
  5737. - - SSC SSC1 dhcp -S -o 1
  5738. - ['R SSC1 C +DHCP:STA,OK']
  5739. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  5740. - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
  5741. - - SSC SSC2 sta -S
  5742. - [R SSC2 NP <target_ssid> C +SCANDONE]
  5743. - - SSC SSC1 sta -D
  5744. - ['R SSC1 C +QAP:OK']
  5745. comment: ''
  5746. execution time: 0.0
  5747. expected result: '1.target1下设置ssid 和pwd 、加密方式成功
  5748. 2.修改target 1的mode 为sta mode
  5749. 3.target1的dhcp打开
  5750. 4.target1成功连接上AP
  5751. 5.target2上不能查询到target_ssid
  5752. 6.target1断开AP'
  5753. initial condition: T2O_1
  5754. initial condition description (auto): same as T2_1 but will NOT autogen a TC with
  5755. initial condition T2_2
  5756. level: Integration
  5757. module: WIFI MAC
  5758. steps: '1.target1下设置ssid 和pwd 加密方式
  5759. 2.修改target1的mode 为sta mode
  5760. 3.target1的dhcp打开
  5761. 4.target1连接AP
  5762. 5.target2查询target_ssid
  5763. 6.target1断开AP'
  5764. sub module: WIFI Mode
  5765. summary: mode switch test (sta mode)
  5766. test environment: SSC_T2_1
  5767. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5768. PC has 1 WiFi NIC.
  5769. 2 SSC target connect with PC by UART.'
  5770. test point 1: basic function
  5771. test point 2: wifi mode fucntion
  5772. version: v1 (2016-8-15)
  5773. - CI ready: 'Yes'
  5774. ID: WIFI_MODE_0102
  5775. SDK: '8266_NonOS
  5776. 8266_RTOS
  5777. ESP32_IDF'
  5778. Test App: SSC
  5779. allow fail: ''
  5780. auto test: 'Yes'
  5781. category: Function
  5782. cmd set:
  5783. - ''
  5784. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  5785. - ['R SSC1 C +SAP:OK']
  5786. - - SSC SSC2 sta -S
  5787. - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
  5788. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  5789. - ['R SSC1 C +JAP:ERROR']
  5790. - - SSC SSC1 sta -D
  5791. - ['R SSC1 C +QAP:ERROR']
  5792. comment: ''
  5793. execution time: 0.0
  5794. expected result: '1. target1 set AP
  5795. 2.target 2 上查询到target_ssid
  5796. 3. target1 can''t join AP
  5797. 4. target1 can''t QAP'
  5798. initial condition: T2O_1
  5799. initial condition description (auto): same as T2_1 but will NOT autogen a TC with
  5800. initial condition T2_2
  5801. level: Integration
  5802. module: WIFI MAC
  5803. steps: '1.target1下设置ssid 和pwd 加密方式
  5804. 2.target 2 上查询target_ssid
  5805. 3.target1 join AP
  5806. 4.target1 DISCONN AP'
  5807. sub module: WIFI Mode
  5808. summary: mode switch test (AP mode)
  5809. test environment: SSC_T2_1
  5810. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5811. PC has 1 WiFi NIC.
  5812. 2 SSC target connect with PC by UART.'
  5813. test point 1: basic function
  5814. test point 2: wifi mode fucntion
  5815. version: v1 (2016-8-15)
  5816. - CI ready: 'Yes'
  5817. ID: WIFI_MODE_0103
  5818. SDK: '8266_NonOS
  5819. 8266_RTOS
  5820. ESP32_IDF'
  5821. Test App: SSC
  5822. allow fail: ''
  5823. auto test: 'Yes'
  5824. category: Function
  5825. cmd set:
  5826. - ''
  5827. - - SSC SSC1 op -S -o 3
  5828. - ['R SSC1 C +MODE:OK']
  5829. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  5830. - ['R SSC1 C +SAP:OK']
  5831. - - SSC SSC1 dhcp -S -o 1
  5832. - ['R SSC1 C +DHCP:STA,OK']
  5833. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  5834. - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
  5835. - - SSC SSC2 sta -S
  5836. - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
  5837. comment: ''
  5838. execution time: 0.0
  5839. expected result: '1.target1 change to AP mode
  5840. 2.target1 set AP
  5841. 3.target 1 的dhcp 打开
  5842. 4.target 1 成功连接上AP
  5843. 5.target 2 上查询到target_ssid'
  5844. initial condition: T2O_1
  5845. initial condition description (auto): same as T2_1 but will NOT autogen a TC with
  5846. initial condition T2_2
  5847. level: Integration
  5848. module: WIFI MAC
  5849. steps: '1.target1 change to AP mode
  5850. 2.target1下设置ssid 和pwd 加密方式
  5851. 3.target1 的dhcp 打开
  5852. 4.target1 连接AP
  5853. 5.target2 上查询target_ssid'
  5854. sub module: WIFI Mode
  5855. summary: mode switch test (STA+AP mode)
  5856. test environment: SSC_T2_1
  5857. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  5858. PC has 1 WiFi NIC.
  5859. 2 SSC target connect with PC by UART.'
  5860. test point 1: basic function
  5861. test point 2: wifi mode fucntion
  5862. version: v1 (2016-8-15)
  5863. - CI ready: 'Yes'
  5864. ID: WIFI_PHY_0401
  5865. SDK: ESP32_IDF
  5866. Test App: SSC
  5867. allow fail: ''
  5868. auto test: 'Yes'
  5869. category: Function
  5870. cmd set:
  5871. - ''
  5872. - - SSC SSC1 phy -S -o 1 -m n -b 20
  5873. - ['R SSC1 C +PHY:OK']
  5874. - - SSC SSC1 phy -S -o 2 -m n -b 20
  5875. - ['R SSC1 C +PHY:OK']
  5876. - - SSC SSC2 phy -S -o 1 -m n -b 20
  5877. - ['R SSC2 C +PHY:OK']
  5878. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
  5879. - ['R SSC1 C +JAP:CONNECTED']
  5880. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5881. - ['']
  5882. - - DELAY 10
  5883. - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
  5884. comment: ''
  5885. execution time: 0.0
  5886. expected result: 3. SoftAP and STA in channel2, both bandwidth 20M, STA not disconnected
  5887. initial condition: T2_2
  5888. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  5889. level: Integration
  5890. module: WIFI MAC
  5891. steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht20, in channel2
  5892. 2. STA connect to ext AP
  5893. 3. AP get connected'
  5894. sub module: Phy Mode
  5895. summary: SoftAP ext AP in defferent channel, both bandwidth 20M, STA connect to
  5896. AP then Softap get connected
  5897. test environment: SSC_T2_PhyMode
  5898. test environment description (auto): '2 SSC target connect with PC by UART.
  5899. PC has one WiFi NIC support capture wlan packet using libpcap.
  5900. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  5901. Put 4 APs near SSC targets.'
  5902. test point 1: basic function
  5903. test point 2: STA+SoftAP initial channel test
  5904. version: v1 (2015-8-15)
  5905. - CI ready: 'Yes'
  5906. ID: WIFI_PHY_0402
  5907. SDK: ESP32_IDF
  5908. Test App: SSC
  5909. allow fail: ''
  5910. auto test: 'Yes'
  5911. category: Function
  5912. cmd set:
  5913. - ''
  5914. - - SSC SSC1 phy -S -o 1 -m n -b 20
  5915. - ['R SSC1 C +PHY:OK']
  5916. - - SSC SSC1 phy -S -o 2 -m n -b 20
  5917. - ['R SSC1 C +PHY:OK']
  5918. - - SSC SSC2 phy -S -o 1 -m n -b 20
  5919. - ['R SSC2 C +PHY:OK']
  5920. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5921. - ['P SSC2 C +JAP:CONNECTED']
  5922. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
  5923. - ['']
  5924. - - DELAY 10
  5925. - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
  5926. comment: ''
  5927. execution time: 0.0
  5928. expected result: 3. SoftAP and STA in channel2, both bandwidth 20M, SoftAP not get
  5929. disconnected
  5930. initial condition: T2_2
  5931. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  5932. level: Integration
  5933. module: WIFI MAC
  5934. steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht20, in channel2
  5935. 2. AP get connected
  5936. 3. STA connect to ext AP'
  5937. sub module: Phy Mode
  5938. summary: SoftAP ext AP in defferent channel, both bandwidth 20M, Softap get connected
  5939. than STA connect to AP
  5940. test environment: SSC_T2_PhyMode
  5941. test environment description (auto): '2 SSC target connect with PC by UART.
  5942. PC has one WiFi NIC support capture wlan packet using libpcap.
  5943. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  5944. Put 4 APs near SSC targets.'
  5945. test point 1: basic function
  5946. test point 2: STA+SoftAP initial channel test
  5947. version: v1 (2015-8-15)
  5948. - CI ready: 'Yes'
  5949. ID: WIFI_PHY_0403
  5950. SDK: ESP32_IDF
  5951. Test App: SSC
  5952. allow fail: ''
  5953. auto test: 'Yes'
  5954. category: Function
  5955. cmd set:
  5956. - ''
  5957. - - SSC SSC1 phy -S -o 1 -m n -b 40
  5958. - ['R SSC1 C +PHY:OK']
  5959. - - SSC SSC1 phy -S -o 2 -m n -b 20
  5960. - ['R SSC1 C +PHY:OK']
  5961. - - SSC SSC2 phy -S -o 1 -m n -b 20
  5962. - ['R SSC2 C +PHY:OK']
  5963. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  5964. - ['R SSC1 C +JAP:CONNECTED']
  5965. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  5966. - ['']
  5967. - - DELAY 10
  5968. - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
  5969. comment: ''
  5970. execution time: 0.0
  5971. expected result: 3. SoftAP and STA in channel2, SoftAP 20M, STA 40M, STA not disconnected
  5972. initial condition: T2_2
  5973. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  5974. level: Integration
  5975. module: WIFI MAC
  5976. steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht40, in channel2
  5977. 2. STA connect to ext AP
  5978. 3. AP get connected'
  5979. sub module: Phy Mode
  5980. summary: SoftAP ext AP in defferent channel, SoftAP 20M, ext AP 40M, STA connect
  5981. to AP then Softap get connected
  5982. test environment: SSC_T2_PhyMode
  5983. test environment description (auto): '2 SSC target connect with PC by UART.
  5984. PC has one WiFi NIC support capture wlan packet using libpcap.
  5985. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  5986. Put 4 APs near SSC targets.'
  5987. test point 1: basic function
  5988. test point 2: STA+SoftAP initial channel test
  5989. version: v1 (2015-8-15)
  5990. - CI ready: 'Yes'
  5991. ID: WIFI_PHY_0404
  5992. SDK: ESP32_IDF
  5993. Test App: SSC
  5994. allow fail: ''
  5995. auto test: 'Yes'
  5996. category: Function
  5997. cmd set:
  5998. - ''
  5999. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6000. - ['R SSC1 C +PHY:OK']
  6001. - - SSC SSC1 phy -S -o 2 -m n -b 20
  6002. - ['R SSC1 C +PHY:OK']
  6003. - - SSC SSC2 phy -S -o 1 -m n -b 20
  6004. - ['R SSC2 C +PHY:OK']
  6005. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  6006. - ['P SSC2 C +JAP:CONNECTED']
  6007. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  6008. - ['']
  6009. - - DELAY 10
  6010. - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
  6011. comment: ''
  6012. execution time: 0.0
  6013. expected result: 3. SoftAP and STA in channel2, SoftAP 20M, STA 40M, SoftAP not
  6014. get disconnected
  6015. initial condition: T2_2
  6016. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  6017. level: Integration
  6018. module: WIFI MAC
  6019. steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht40, in channel2
  6020. 2. AP get connected
  6021. 3. STA connect to ext AP'
  6022. sub module: Phy Mode
  6023. summary: SoftAP ext AP in defferent channel, SoftAP 20M, ext AP 40M, Softap get
  6024. connected than STA connect to AP
  6025. test environment: SSC_T2_PhyMode
  6026. test environment description (auto): '2 SSC target connect with PC by UART.
  6027. PC has one WiFi NIC support capture wlan packet using libpcap.
  6028. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  6029. Put 4 APs near SSC targets.'
  6030. test point 1: basic function
  6031. test point 2: STA+SoftAP initial channel test
  6032. version: v1 (2015-8-15)
  6033. - CI ready: 'Yes'
  6034. ID: WIFI_PHY_0405
  6035. SDK: ESP32_IDF
  6036. Test App: SSC
  6037. allow fail: ''
  6038. auto test: 'Yes'
  6039. category: Function
  6040. cmd set:
  6041. - ''
  6042. - - SSC SSC1 phy -S -o 1 -m n -b 20
  6043. - ['R SSC1 C +PHY:OK']
  6044. - - SSC SSC1 phy -S -o 2 -m n -b 40
  6045. - ['R SSC1 C +PHY:OK']
  6046. - - SSC SSC2 phy -S -o 1 -m n -b 40
  6047. - ['R SSC2 C +PHY:OK']
  6048. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
  6049. - ['R SSC1 C +JAP:CONNECTED']
  6050. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  6051. - ['']
  6052. - - DELAY 10
  6053. - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
  6054. comment: ''
  6055. execution time: 0.0
  6056. expected result: 3. SoftAP and STA in channel2, both bandwidth 40M, STA not disconnected
  6057. initial condition: T2_2
  6058. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  6059. level: Integration
  6060. module: WIFI MAC
  6061. steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht40, in channel2
  6062. 2. STA connect to ext AP
  6063. 3. AP get connected'
  6064. sub module: Phy Mode
  6065. summary: SoftAP ext AP in defferent channel, both bandwidth 40M, STA connect to
  6066. AP then Softap get connected
  6067. test environment: SSC_T2_PhyMode
  6068. test environment description (auto): '2 SSC target connect with PC by UART.
  6069. PC has one WiFi NIC support capture wlan packet using libpcap.
  6070. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  6071. Put 4 APs near SSC targets.'
  6072. test point 1: basic function
  6073. test point 2: STA+SoftAP initial channel test
  6074. version: v1 (2015-8-15)
  6075. - CI ready: 'Yes'
  6076. ID: WIFI_PHY_0406
  6077. SDK: ESP32_IDF
  6078. Test App: SSC
  6079. allow fail: ''
  6080. auto test: 'Yes'
  6081. category: Function
  6082. cmd set:
  6083. - ''
  6084. - - SSC SSC1 phy -S -o 1 -m n -b 20
  6085. - ['R SSC1 C +PHY:OK']
  6086. - - SSC SSC1 phy -S -o 2 -m n -b 40
  6087. - ['R SSC1 C +PHY:OK']
  6088. - - SSC SSC2 phy -S -o 1 -m n -b 40
  6089. - ['R SSC2 C +PHY:OK']
  6090. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  6091. - ['P SSC2 C +JAP:CONNECTED']
  6092. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
  6093. - ['']
  6094. - - DELAY 10
  6095. - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
  6096. comment: ''
  6097. execution time: 0.0
  6098. expected result: 3. SoftAP and STA in channel2, both bandwidth 40M, SoftAP not get
  6099. disconnected
  6100. initial condition: T2_2
  6101. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  6102. level: Integration
  6103. module: WIFI MAC
  6104. steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht40, in channel2
  6105. 2. AP get connected
  6106. 3. STA connect to ext AP'
  6107. sub module: Phy Mode
  6108. summary: SoftAP ext AP in defferent channel, both bandwidth 40M, Softap get connected
  6109. than STA connect to AP
  6110. test environment: SSC_T2_PhyMode
  6111. test environment description (auto): '2 SSC target connect with PC by UART.
  6112. PC has one WiFi NIC support capture wlan packet using libpcap.
  6113. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  6114. Put 4 APs near SSC targets.'
  6115. test point 1: basic function
  6116. test point 2: STA+SoftAP initial channel test
  6117. version: v1 (2015-8-15)
  6118. - CI ready: 'Yes'
  6119. ID: WIFI_PHY_0407
  6120. SDK: ESP32_IDF
  6121. Test App: SSC
  6122. allow fail: ''
  6123. auto test: 'Yes'
  6124. category: Function
  6125. cmd set:
  6126. - ''
  6127. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6128. - ['R SSC1 C +PHY:OK']
  6129. - - SSC SSC1 phy -S -o 2 -m n -b 40
  6130. - ['R SSC1 C +PHY:OK']
  6131. - - SSC SSC2 phy -S -o 1 -m n -b 40
  6132. - ['R SSC2 C +PHY:OK']
  6133. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  6134. - ['R SSC1 C +JAP:CONNECTED']
  6135. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  6136. - ['']
  6137. - - DELAY 10
  6138. - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
  6139. comment: ''
  6140. execution time: 0.0
  6141. expected result: 3. SoftAP and STA in channel2, SoftAP 40M, STA 20M, STA not disconnected
  6142. initial condition: T2_2
  6143. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  6144. level: Integration
  6145. module: WIFI MAC
  6146. steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht20, in channel2
  6147. 2. STA connect to ext AP
  6148. 3. AP get connected'
  6149. sub module: Phy Mode
  6150. summary: SoftAP ext AP in defferent channel, SoftAP 40M, ext AP 20M, STA connect
  6151. to AP then Softap get connected
  6152. test environment: SSC_T2_PhyMode
  6153. test environment description (auto): '2 SSC target connect with PC by UART.
  6154. PC has one WiFi NIC support capture wlan packet using libpcap.
  6155. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  6156. Put 4 APs near SSC targets.'
  6157. test point 1: basic function
  6158. test point 2: STA+SoftAP initial channel test
  6159. version: v1 (2015-8-15)
  6160. - CI ready: 'Yes'
  6161. ID: WIFI_PHY_0408
  6162. SDK: ESP32_IDF
  6163. Test App: SSC
  6164. allow fail: ''
  6165. auto test: 'Yes'
  6166. category: Function
  6167. cmd set:
  6168. - ''
  6169. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6170. - ['R SSC1 C +PHY:OK']
  6171. - - SSC SSC1 phy -S -o 2 -m n -b 40
  6172. - ['R SSC1 C +PHY:OK']
  6173. - - SSC SSC2 phy -S -o 1 -m n -b 40
  6174. - ['R SSC2 C +PHY:OK']
  6175. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  6176. - ['P SSC2 C +JAP:CONNECTED']
  6177. - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  6178. - ['']
  6179. - - DELAY 10
  6180. - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
  6181. comment: ''
  6182. execution time: 0.0
  6183. expected result: 3. SoftAP and STA in channel2, SoftAP 40M, STA 20M, SoftAP not
  6184. get disconnected
  6185. initial condition: T2_2
  6186. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  6187. level: Integration
  6188. module: WIFI MAC
  6189. steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht20, in channel2
  6190. 2. AP get connected
  6191. 3. STA connect to ext AP'
  6192. sub module: Phy Mode
  6193. summary: SoftAP ext AP in defferent channel, SoftAP 40M, ext AP 20M, Softap get
  6194. connected than STA connect to AP
  6195. test environment: SSC_T2_PhyMode
  6196. test environment description (auto): '2 SSC target connect with PC by UART.
  6197. PC has one WiFi NIC support capture wlan packet using libpcap.
  6198. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  6199. Put 4 APs near SSC targets.'
  6200. test point 1: basic function
  6201. test point 2: STA+SoftAP initial channel test
  6202. version: v1 (2015-8-15)
  6203. - CI ready: 'Yes'
  6204. ID: WIFI_PHY_0501
  6205. SDK: ESP32_IDF
  6206. Test App: SSC
  6207. allow fail: ''
  6208. auto test: 'Yes'
  6209. category: Function
  6210. cmd set:
  6211. - ''
  6212. - - SSC SSC1 phy -S -o 1 -m n -b 20
  6213. - ['R SSC1 C +PHY:OK']
  6214. - - SSC SSC1 phy -S -o 2 -m n -b 20
  6215. - ['R SSC1 C +PHY:OK']
  6216. - - SSC SSC2 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
  6217. - ['R SSC2 C +JAP:CONNECTED']
  6218. - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
  6219. - ['R SSC1 C +JAP:CONNECTED']
  6220. - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
  6221. - ['R SSC3 C +JAP:CONNECTED']
  6222. - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
  6223. - ['']
  6224. - - DELAY 10
  6225. - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
  6226. comment: ''
  6227. execution time: 0.0
  6228. expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
  6229. channel2 20M
  6230. initial condition: T3_PHY1
  6231. initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
  6232. target 3 set to STA mode
  6233. 2. all interface of target 2,3 set to 11n ht40
  6234. 3. config softAP of target 1 and target 2'
  6235. level: Integration
  6236. module: WIFI MAC
  6237. steps: '1. target 1 STA and SoftAP set to 20M
  6238. 2. target 2 STA connect to ap_channel1_20
  6239. 3. target 1/3 STA connect to target 2/1 SoftAP
  6240. 4. target 2 STA connect to ap_channel2_20'
  6241. sub module: Phy Mode
  6242. summary: SoftAP STA in channel1 20M, STA changed to channel2 20M
  6243. test environment: SSC_T3_PhyMode
  6244. test environment description (auto): '3 SSC target connect with PC by UART.
  6245. PC has one WiFi NIC support capture wlan packet using libpcap.
  6246. Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
  6247. Put 4 APs near SSC targets.'
  6248. test point 1: basic function
  6249. test point 2: STA+SoftAP dynamic channel switch test
  6250. version: v1 (2015-8-15)
  6251. - CI ready: 'Yes'
  6252. ID: WIFI_PHY_0502
  6253. SDK: ESP32_IDF
  6254. Test App: SSC
  6255. allow fail: ''
  6256. auto test: 'Yes'
  6257. category: Function
  6258. cmd set:
  6259. - ''
  6260. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6261. - ['R SSC1 C +PHY:OK']
  6262. - - SSC SSC1 phy -S -o 2 -m n -b 20
  6263. - ['R SSC1 C +PHY:OK']
  6264. - - SSC SSC2 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
  6265. - ['R SSC2 C +JAP:CONNECTED']
  6266. - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
  6267. - ['R SSC1 C +JAP:CONNECTED']
  6268. - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
  6269. - ['R SSC3 C +JAP:CONNECTED']
  6270. - - SSC SSC2 sta -C -s <ap_ssid_c2_ht40> -p <ap_password_phy>
  6271. - ['']
  6272. - - DELAY 10
  6273. - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
  6274. comment: ''
  6275. execution time: 0.0
  6276. expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
  6277. channel2; SoftAP in 20M, STA in 40M
  6278. initial condition: T3_PHY1
  6279. initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
  6280. target 3 set to STA mode
  6281. 2. all interface of target 2,3 set to 11n ht40
  6282. 3. config softAP of target 1 and target 2'
  6283. level: Integration
  6284. module: WIFI MAC
  6285. steps: '1. target 1 STA set to 40M, SoftAP set to 20M
  6286. 2. target 2 STA connect to ap_channel1_20
  6287. 3. target 1/3 STA connect to target 2/1 SoftAP
  6288. 4. target 2 STA connect to ap_channel2_40'
  6289. sub module: Phy Mode
  6290. summary: SoftAP STA in channel1 20M, STA changed to channel2 40M
  6291. test environment: SSC_T3_PhyMode
  6292. test environment description (auto): '3 SSC target connect with PC by UART.
  6293. PC has one WiFi NIC support capture wlan packet using libpcap.
  6294. Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
  6295. Put 4 APs near SSC targets.'
  6296. test point 1: basic function
  6297. test point 2: STA+SoftAP dynamic channel switch test
  6298. version: v1 (2015-8-15)
  6299. - CI ready: 'Yes'
  6300. ID: WIFI_PHY_0503
  6301. SDK: ESP32_IDF
  6302. Test App: SSC
  6303. allow fail: ''
  6304. auto test: 'Yes'
  6305. category: Function
  6306. cmd set:
  6307. - ''
  6308. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6309. - ['R SSC1 C +PHY:OK']
  6310. - - SSC SSC1 phy -S -o 2 -m n -b 20
  6311. - ['R SSC1 C +PHY:OK']
  6312. - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  6313. - ['R SSC2 C +JAP:CONNECTED']
  6314. - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
  6315. - ['R SSC1 C +JAP:CONNECTED']
  6316. - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
  6317. - ['R SSC3 C +JAP:CONNECTED']
  6318. - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
  6319. - ['']
  6320. - - DELAY 10
  6321. - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
  6322. comment: ''
  6323. execution time: 0.0
  6324. expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
  6325. channel2 20M
  6326. initial condition: T3_PHY1
  6327. initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
  6328. target 3 set to STA mode
  6329. 2. all interface of target 2,3 set to 11n ht40
  6330. 3. config softAP of target 1 and target 2'
  6331. level: Integration
  6332. module: WIFI MAC
  6333. steps: '1. target 1 STA set to 40M, SoftAP set to 20M
  6334. 2. target 2 STA connect to ap_channel1_40
  6335. 3. target 1/3 STA connect to target 2/1 SoftAP
  6336. 4. target 2 STA connect to ap_channel2_20'
  6337. sub module: Phy Mode
  6338. summary: SoftAP STA in channel1, SoftAP 20M, STA 40M, STA changed to channel2 20M
  6339. test environment: SSC_T3_PhyMode
  6340. test environment description (auto): '3 SSC target connect with PC by UART.
  6341. PC has one WiFi NIC support capture wlan packet using libpcap.
  6342. Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
  6343. Put 4 APs near SSC targets.'
  6344. test point 1: basic function
  6345. test point 2: STA+SoftAP dynamic channel switch test
  6346. version: v1 (2015-8-15)
  6347. - CI ready: 'Yes'
  6348. ID: WIFI_PHY_0504
  6349. SDK: ESP32_IDF
  6350. Test App: SSC
  6351. allow fail: ''
  6352. auto test: 'Yes'
  6353. category: Function
  6354. cmd set:
  6355. - ''
  6356. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6357. - ['R SSC1 C +PHY:OK']
  6358. - - SSC SSC1 phy -S -o 2 -m n -b 40
  6359. - ['R SSC1 C +PHY:OK']
  6360. - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  6361. - ['R SSC2 C +JAP:CONNECTED']
  6362. - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
  6363. - ['R SSC1 C +JAP:CONNECTED']
  6364. - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
  6365. - ['R SSC3 C +JAP:CONNECTED']
  6366. - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
  6367. - ['']
  6368. - - DELAY 10
  6369. - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
  6370. comment: ''
  6371. execution time: 0.0
  6372. expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
  6373. channel2 20M
  6374. initial condition: T3_PHY1
  6375. initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
  6376. target 3 set to STA mode
  6377. 2. all interface of target 2,3 set to 11n ht40
  6378. 3. config softAP of target 1 and target 2'
  6379. level: Integration
  6380. module: WIFI MAC
  6381. steps: '1. target 1 STA and SoftAP set to 40M
  6382. 2. target 2 STA connect to ap_channel1_40
  6383. 3. target 1/3 STA connect to target 2/1 SoftAP
  6384. 4. target 2 STA connect to ap_channel2_20'
  6385. sub module: Phy Mode
  6386. summary: SoftAP STA in channel1, SoftAP 20M, STA 40M, STA changed to channel2 40M
  6387. test environment: SSC_T3_PhyMode
  6388. test environment description (auto): '3 SSC target connect with PC by UART.
  6389. PC has one WiFi NIC support capture wlan packet using libpcap.
  6390. Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
  6391. Put 4 APs near SSC targets.'
  6392. test point 1: basic function
  6393. test point 2: STA+SoftAP dynamic channel switch test
  6394. version: v1 (2015-8-15)
  6395. - CI ready: 'Yes'
  6396. ID: WIFI_PHY_0505
  6397. SDK: ESP32_IDF
  6398. Test App: SSC
  6399. allow fail: ''
  6400. auto test: 'Yes'
  6401. category: Function
  6402. cmd set:
  6403. - ''
  6404. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6405. - ['R SSC1 C +PHY:OK']
  6406. - - SSC SSC1 phy -S -o 2 -m n -b 20
  6407. - ['R SSC1 C +PHY:OK']
  6408. - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  6409. - ['R SSC2 C +JAP:CONNECTED']
  6410. - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
  6411. - ['R SSC1 C +JAP:CONNECTED']
  6412. - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
  6413. - ['R SSC3 C +JAP:CONNECTED']
  6414. - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
  6415. - ['']
  6416. - - DELAY 10
  6417. - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
  6418. comment: ''
  6419. execution time: 0.0
  6420. expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
  6421. channel2; SoftAP in 20M, STA in 40M
  6422. initial condition: T3_PHY1
  6423. initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
  6424. target 3 set to STA mode
  6425. 2. all interface of target 2,3 set to 11n ht40
  6426. 3. config softAP of target 1 and target 2'
  6427. level: Integration
  6428. module: WIFI MAC
  6429. steps: '1. target 1 STA set to 40M ,SoftAP set to 20M
  6430. 2. target 2 STA connect to ap_channel1_40
  6431. 3. target 1/3 STA connect to target 2/1 SoftAP
  6432. 4. target 2 STA connect to ap_channel2_20'
  6433. sub module: Phy Mode
  6434. summary: SoftAP STA in channel1, SoftAP 40M, STA 40M, STA changed to channel2 20M
  6435. test environment: SSC_T3_PhyMode
  6436. test environment description (auto): '3 SSC target connect with PC by UART.
  6437. PC has one WiFi NIC support capture wlan packet using libpcap.
  6438. Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
  6439. Put 4 APs near SSC targets.'
  6440. test point 1: basic function
  6441. test point 2: STA+SoftAP dynamic channel switch test
  6442. version: v1 (2015-8-15)
  6443. - CI ready: 'Yes'
  6444. ID: WIFI_PHY_0506
  6445. SDK: ESP32_IDF
  6446. Test App: SSC
  6447. allow fail: ''
  6448. auto test: 'Yes'
  6449. category: Function
  6450. cmd set:
  6451. - ''
  6452. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6453. - ['R SSC1 C +PHY:OK']
  6454. - - SSC SSC1 phy -S -o 2 -m n -b 40
  6455. - ['R SSC1 C +PHY:OK']
  6456. - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
  6457. - ['R SSC2 C +JAP:CONNECTED']
  6458. - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
  6459. - ['R SSC1 C +JAP:CONNECTED']
  6460. - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
  6461. - ['R SSC3 C +JAP:CONNECTED']
  6462. - - SSC SSC2 sta -C -s <ap_ssid_c2_ht40> -p <ap_password_phy>
  6463. - ['']
  6464. - - DELAY 10
  6465. - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
  6466. comment: ''
  6467. execution time: 0.0
  6468. expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
  6469. channel2 40M
  6470. initial condition: T3_PHY1
  6471. initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
  6472. target 3 set to STA mode
  6473. 2. all interface of target 2,3 set to 11n ht40
  6474. 3. config softAP of target 1 and target 2'
  6475. level: Integration
  6476. module: WIFI MAC
  6477. steps: '1. target 1 STA and SoftAP set to 40M
  6478. 2. target 2 STA connect to ap_channel1_40
  6479. 3. target 1/3 STA connect to target 2/1 SoftAP
  6480. 4. target 2 STA connect to ap_channel2_40'
  6481. sub module: Phy Mode
  6482. summary: SoftAP STA in channel1, SoftAP 40M, STA 40M, STA changed to channel2 40M
  6483. test environment: SSC_T3_PhyMode
  6484. test environment description (auto): '3 SSC target connect with PC by UART.
  6485. PC has one WiFi NIC support capture wlan packet using libpcap.
  6486. Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
  6487. Put 4 APs near SSC targets.'
  6488. test point 1: basic function
  6489. test point 2: STA+SoftAP dynamic channel switch test
  6490. version: v1 (2015-8-15)
  6491. - CI ready: 'Yes'
  6492. ID: WIFI_SCAN_0101
  6493. SDK: '8266_NonOS
  6494. 8266_RTOS
  6495. ESP32_IDF'
  6496. Test App: SSC
  6497. allow fail: ''
  6498. auto test: 'Yes'
  6499. category: Function
  6500. cmd set:
  6501. - ''
  6502. - - SSC SSC2 sta -S -s .,juhg123
  6503. - ['R SSC2 NC +SCAN: C +SCANDONE']
  6504. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3
  6505. - ['R SSC1 C +SAP:OK']
  6506. - - SSC SSC2 sta -S -s <target_tmp_ssid>
  6507. - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>, 'R SSC2 NC +SCAN: C +SCANDONE']
  6508. comment: ''
  6509. execution time: 0.0
  6510. expected result: '1.target 2上不能scan .,juhg123
  6511. 2.target1 set AP
  6512. 3.target2上查询到<target_tmp_ssid>'
  6513. initial condition: T2_1
  6514. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  6515. autogen a TC with initial condition T2_2
  6516. level: Integration
  6517. module: WIFI MAC
  6518. steps: '1.target 2 scan .,juhg123
  6519. 2.target1下设置ssid 和pwd 加密方式
  6520. 3.target2 scan <target_tmp_ssid>'
  6521. sub module: WIFI Scan
  6522. summary: scan with scan config ssid
  6523. test environment: SSC_T2_1
  6524. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  6525. PC has 1 WiFi NIC.
  6526. 2 SSC target connect with PC by UART.'
  6527. test point 1: basic function
  6528. test point 2: scan with different config
  6529. version: v1 (2016-8-15)
  6530. - CI ready: 'Yes'
  6531. ID: WIFI_SCAN_0102
  6532. SDK: '8266_NonOS
  6533. 8266_RTOS
  6534. ESP32_IDF'
  6535. Test App: SSC
  6536. allow fail: ''
  6537. auto test: 'Yes'
  6538. category: Function
  6539. cmd set:
  6540. - ''
  6541. - - SSC SSC2 sta -S -b ff:ff:ff:ff:ff:11
  6542. - ['R SSC2 NC +SCAN: C +SCANDONE']
  6543. - - SSC SSC2 sta -S -b <target_ap_mac>
  6544. - ['R SSC2 RE "\+SCAN:.+,%%s"%%(<target_ap_mac>)', 'R SSC2 NC +SCAN: C +SCANDONE']
  6545. comment: ''
  6546. execution time: 0.0
  6547. expected result: '1.target2 上不能查询到此mac
  6548. 2.target2上查询到<target_ap_mac>'
  6549. initial condition: T2_1
  6550. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  6551. autogen a TC with initial condition T2_2
  6552. level: Integration
  6553. module: WIFI MAC
  6554. steps: '1.target2 上查询此macff:ff:ff:ff:ff:11
  6555. 2.target2上查询<target_ap_mac>'
  6556. sub module: WIFI Scan
  6557. summary: scan with scan config bssid
  6558. test environment: SSC_T2_1
  6559. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  6560. PC has 1 WiFi NIC.
  6561. 2 SSC target connect with PC by UART.'
  6562. test point 1: basic function
  6563. test point 2: scan with different config
  6564. version: v1 (2016-8-15)
  6565. - CI ready: 'Yes'
  6566. ID: WIFI_SCAN_0103
  6567. SDK: '8266_NonOS
  6568. 8266_RTOS
  6569. ESP32_IDF'
  6570. Test App: SSC
  6571. allow fail: ''
  6572. auto test: 'Yes'
  6573. category: Function
  6574. cmd set:
  6575. - ''
  6576. - - SSC SSC1 sta -D
  6577. - ['R SSC1 C +QAP:']
  6578. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -n 6
  6579. - ['R SSC1 C +SAP:OK']
  6580. - - SSC SSC2 sta -S -n 5
  6581. - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
  6582. - - SSC SSC2 sta -S -n 6
  6583. - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>]
  6584. comment: ''
  6585. execution time: 0.0
  6586. expected result: '1.target1 QAP
  6587. 2. target1 set AP,set channel 6
  6588. 3.target2 上scan不到 channel 5
  6589. 4.target2 上查询channel 6的<target_tmp_ssid>'
  6590. initial condition: T2_1
  6591. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  6592. autogen a TC with initial condition T2_2
  6593. level: Integration
  6594. module: WIFI MAC
  6595. steps: '1.target1 断开连接AP
  6596. 2.target1下设置ssid 和pwd 加密方式,set channel 6
  6597. 3.target2 上scan channel 5
  6598. 4.target2 上查询channel 6的<target_tmp_ssid>'
  6599. sub module: WIFI Scan
  6600. summary: scan with scan config channel
  6601. test environment: SSC_T2_1
  6602. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  6603. PC has 1 WiFi NIC.
  6604. 2 SSC target connect with PC by UART.'
  6605. test point 1: basic function
  6606. test point 2: scan with different config
  6607. version: v1 (2016-8-15)
  6608. - CI ready: 'Yes'
  6609. ID: WIFI_SCAN_0104
  6610. SDK: '8266_NonOS
  6611. 8266_RTOS
  6612. ESP32_IDF'
  6613. Test App: SSC
  6614. allow fail: ''
  6615. auto test: 'Yes'
  6616. category: Function
  6617. cmd set:
  6618. - ''
  6619. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0
  6620. - ['R SSC1 C +SAP:OK']
  6621. - - SSC SSC2 sta -S -h 0
  6622. - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
  6623. - - SSC SSC2 sta -S -h 1
  6624. - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
  6625. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -h 1
  6626. - ['R SSC1 C +SAP:OK']
  6627. - - SSC SSC2 sta -S -h 0
  6628. - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
  6629. - - SSC SSC2 sta -S -h 1
  6630. - [R SSC2 P <target_ap_mac> C +SCANDONE]
  6631. comment: ''
  6632. execution time: 0.0
  6633. expected result: '1.target1 set AP,set ssid broad cast
  6634. 2.target 2上scan <target_tmp_ssid>
  6635. 3.target 2上scan <target_tmp_ssid>
  6636. 4.target1 set AP,set ssid hidden,
  6637. 5.target 2上不能查询到 <target_tmp_ssid>
  6638. 6.target 2上查询到<target_ap_mac>'
  6639. initial condition: T2_1
  6640. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  6641. autogen a TC with initial condition T2_2
  6642. level: Integration
  6643. module: WIFI MAC
  6644. steps: '1.target1下设置ssid 和pwd 加密方式,set ssid broad cast
  6645. 2.target 2上scan <target_tmp_ssid>
  6646. 3.target 2上scan <target_tmp_ssid>
  6647. 4.target1下设置ssid 和pwd 加密方式,set ssid hidden,
  6648. 5.target 2上查询 <target_tmp_ssid>
  6649. 6.target 2上查询<target_ap_mac>'
  6650. sub module: WIFI Scan
  6651. summary: scan with scan config show hidden
  6652. test environment: SSC_T2_1
  6653. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  6654. PC has 1 WiFi NIC.
  6655. 2 SSC target connect with PC by UART.'
  6656. test point 1: basic function
  6657. test point 2: scan with different config
  6658. version: v1 (2016-8-15)
  6659. - CI ready: 'Yes'
  6660. ID: WIFI_SCAN_0105
  6661. SDK: '8266_NonOS
  6662. 8266_RTOS
  6663. ESP32_IDF'
  6664. Test App: SSC
  6665. allow fail: ''
  6666. auto test: 'Yes'
  6667. category: Function
  6668. cmd set:
  6669. - ''
  6670. - - SSC SSC1 sta -D
  6671. - ['R SSC1 C +QAP:']
  6672. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0 -n 11
  6673. - ['R SSC1 C +SAP:OK']
  6674. - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 11
  6675. - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
  6676. - - SSC SSC2 sta -S -s <target_ssid> -b <target_ap_mac> -n 11
  6677. - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
  6678. - - SSC SSC2 sta -S -s <target_tmp_ssid> -b ff:ff:ff:ff:ff:11 -n 11
  6679. - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
  6680. - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 10
  6681. - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
  6682. comment: ''
  6683. execution time: 0.0
  6684. expected result: '1.target1 QAP
  6685. 2. target1 set AP,set ssid broad cast,set channel 11
  6686. 3.target2 上查询到<target_tmp_ssid>
  6687. 4.target2 上查询不到<target_tmp_ssid>
  6688. 5.target2 上查询不到<target_tmp_ssid>
  6689. 6.target2 上查询不到<target_tmp_ssid>'
  6690. initial condition: T2_1
  6691. initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
  6692. autogen a TC with initial condition T2_2
  6693. level: Integration
  6694. module: WIFI MAC
  6695. steps: '1.target1 QAP
  6696. 2. target1 set AP,set ssid broad cast,set channel 11
  6697. 3.target2 上查询到<target_tmp_ssid>
  6698. 4.target2 上查询不到<target_tmp_ssid>
  6699. 5.target2 上查询不到<target_tmp_ssid>
  6700. 6.target2 上查询不到<target_tmp_ssid>'
  6701. sub module: WIFI Scan
  6702. summary: scan with several configs
  6703. test environment: SSC_T2_1
  6704. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  6705. PC has 1 WiFi NIC.
  6706. 2 SSC target connect with PC by UART.'
  6707. test point 1: basic function
  6708. test point 2: scan with different config
  6709. version: v1 (2016-8-15)
  6710. - CI ready: 'Yes'
  6711. ID: WIFI_SCAN_0201
  6712. SDK: ESP32_IDF
  6713. Test App: SSC
  6714. allow fail: ''
  6715. auto test: 'Yes'
  6716. category: Function
  6717. cmd set:
  6718. - ''
  6719. - - SSC SSC1 phy -S -o 1 -m b
  6720. - ['R SSC1 C +PHY:OK']
  6721. - - SSC SSC1 sta -S
  6722. - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
  6723. - - SSC SSC1 phy -S -o 1 -m g
  6724. - ['R SSC1 C +PHY:OK']
  6725. - - SSC SSC1 sta -S
  6726. - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
  6727. - - SSC SSC1 phy -S -o 1 -m n -b 20
  6728. - ['R SSC1 C +PHY:OK']
  6729. - - SSC SSC1 sta -S
  6730. - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
  6731. - - SSC SSC1 phy -S -o 1 -m n -b 40
  6732. - ['R SSC1 C +PHY:OK']
  6733. - - SSC SSC1 sta -S
  6734. - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
  6735. comment: ''
  6736. execution time: 0.0
  6737. expected result: '3. find all 3 ext APs
  6738. 5. find all 3 ext APs
  6739. 7. find all 3 ext APs
  6740. 9. find all 3 ext APs'
  6741. initial condition: STAM1
  6742. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  6743. TC with initial condition STAAP1
  6744. level: Integration
  6745. module: WIFI MAC
  6746. steps: '1. 3 ext APs in 11b, 11g, 11n mode
  6747. 2. STA in 11b mode
  6748. 3. do all channel scan
  6749. 4. STA in 11g mode
  6750. 5. do all channel scan
  6751. 6. STA in 11n ht20 mode
  6752. 7. do all channel scan
  6753. 8. STA in 11n ht40 mode
  6754. 9. do all channel scan'
  6755. sub module: WIFI Scan
  6756. summary: STA in differnt PHY mode to scan AP in different PHY mode
  6757. test environment: SSC_T2_PhyMode
  6758. test environment description (auto): '2 SSC target connect with PC by UART.
  6759. PC has one WiFi NIC support capture wlan packet using libpcap.
  6760. Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
  6761. Put 4 APs near SSC targets.'
  6762. test point 1: basic function
  6763. test point 2: Scan in different mode and channel
  6764. version: v1 (2015-8-15)
  6765. - CI ready: 'Yes'
  6766. ID: WIFI_SCAN_0301
  6767. SDK: ESP32_IDF
  6768. Test App: SSC
  6769. allow fail: ''
  6770. auto test: 'Yes'
  6771. category: Function
  6772. cmd set:
  6773. - ''
  6774. - - SSC SSC1 sta -S
  6775. - ['']
  6776. - - SSC SSC1 sta -S
  6777. - [P SSC1 C +SCANFAIL, 'P SSC1 C +SCAN:', R SSC1 C +SCANDONE]
  6778. comment: ''
  6779. execution time: 0.0
  6780. expected result: '1. second scan failed
  6781. 2. first scan succeed'
  6782. initial condition: STAM1
  6783. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  6784. TC with initial condition STAAP1
  6785. level: Integration
  6786. module: WIFI MAC
  6787. steps: '1. do all channel scan
  6788. 2. do scan before scan finished'
  6789. sub module: WIFI Scan
  6790. summary: reject scan request before scan finished
  6791. test environment: SSC_T1_1
  6792. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  6793. PC has 1 WiFi NIC.
  6794. 1 SSC target connect with PC by UART.'
  6795. test point 1: interaction
  6796. test point 2: Scan interact with other WiFi operation
  6797. version: v1 (2015-8-15)
  6798. - CI ready: 'Yes'
  6799. ID: WIFI_SCAN_0302
  6800. SDK: ESP32_IDF
  6801. Test App: SSC
  6802. allow fail: ''
  6803. auto test: 'Yes'
  6804. category: Function
  6805. cmd set:
  6806. - ''
  6807. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  6808. - ['R SSC1 C +JAP:CONNECTED']
  6809. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  6810. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  6811. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -n 1000000 -j 5
  6812. - ['']
  6813. - - SSC SSC2 phy -S -o 1 -m b
  6814. - ['R SSC2 C +PHY:OK']
  6815. - - SSC SSC2 sta -S -n <ap_channel>
  6816. - [R SSC2 P <ap_ssid>]
  6817. - - SSC SSC2 phy -S -o 1 -m g
  6818. - ['R SSC2 C +PHY:OK']
  6819. - - SSC SSC2 sta -S -n <ap_channel>
  6820. - [R SSC2 P <ap_ssid>]
  6821. - - SSC SSC2 phy -S -o 1 -m n -b 20
  6822. - ['R SSC2 C +PHY:OK']
  6823. - - SSC SSC2 sta -S -n <ap_channel>
  6824. - [R SSC2 P <ap_ssid>]
  6825. - - SSC SSC2 phy -S -o 1 -m n -b 40
  6826. - ['R SSC2 C +PHY:OK']
  6827. - - SSC SSC2 sta -S -n <ap_channel>
  6828. - [R SSC2 P <ap_ssid>]
  6829. comment: ''
  6830. execution time: 0.0
  6831. expected result: 3. target 2 able to scan AP
  6832. initial condition: T2_2
  6833. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  6834. level: Integration
  6835. module: WIFI MAC
  6836. steps: '1. target 1 connect to AP
  6837. 2. target 1 start sending UDP packets
  6838. 3. target 2 scan in AP channel in 11b.g,n,ht40 mode'
  6839. sub module: WIFI Scan
  6840. summary: scan in congest channel
  6841. test environment: SSC_T2_1
  6842. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  6843. PC has 1 WiFi NIC.
  6844. 2 SSC target connect with PC by UART.'
  6845. test point 1: interaction
  6846. test point 2: Scan interact with other WiFi operation
  6847. version: v1 (2015-8-15)
  6848. - CI ready: 'Yes'
  6849. ID: WIFI_SCAN_0303
  6850. SDK: ESP32_IDF
  6851. Test App: SSC
  6852. allow fail: ''
  6853. auto test: 'Yes'
  6854. category: Function
  6855. cmd set:
  6856. - ''
  6857. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  6858. - ['R SSC1 C +JAP:OK']
  6859. - - SSC SSC1 sta -S
  6860. - [P SSC1 C +SCANDONE, 'P SSC1 C +JAP:CONNECTED']
  6861. - - SSC SSC1 sta -D
  6862. - ['R SSC1 C +QAP:OK']
  6863. - - SSC SSC1 sta -S
  6864. - ['']
  6865. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  6866. - [P SSC1 C +SCANDONE, 'P SSC1 C +JAP:CONNECTED']
  6867. comment: ''
  6868. execution time: 0.0
  6869. expected result: '2. scan succeed, JAP succeed
  6870. 5. JAP succeed, scan succeed'
  6871. initial condition: STAM1
  6872. initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
  6873. TC with initial condition STAAP1
  6874. level: Integration
  6875. module: WIFI MAC
  6876. steps: '1. target 1 STA join AP
  6877. 2. target 1 STA scan before JAP succeed
  6878. 3. target 1 quite AP
  6879. 4. target 1 scan
  6880. 5. target 1 JAP before scan succeed'
  6881. sub module: WIFI Scan
  6882. summary: scan during JAP
  6883. test environment: SSC_T1_1
  6884. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  6885. PC has 1 WiFi NIC.
  6886. 1 SSC target connect with PC by UART.'
  6887. test point 1: interaction
  6888. test point 2: Scan interact with other WiFi operation
  6889. version: v1 (2015-8-15)
  6890. - CI ready: 'Yes'
  6891. ID: WIFI_SCAN_0304
  6892. SDK: ESP32_IDF
  6893. Test App: SSC
  6894. allow fail: ''
  6895. auto test: 'Yes'
  6896. category: Function
  6897. cmd set:
  6898. - ''
  6899. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  6900. - ['R SSC1 C +SAP:OK']
  6901. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  6902. - ['R SSC2 C +JAP:OK']
  6903. - - SSC SSC1 sta -S
  6904. - [P SSC1 C +SCANDONE, 'P SSC2 C +JAP:CONNECTED']
  6905. - - SSC SSC2 sta -D
  6906. - ['R SSC2 C +QAP:OK']
  6907. - - SSC SSC1 sta -S
  6908. - ['']
  6909. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  6910. - [P SSC1 C +SCANDONE, 'P SSC2 C +JAP:CONNECTED']
  6911. comment: ''
  6912. execution time: 0.0
  6913. expected result: '2. scan succeed, JAP succeed
  6914. 5. JAP succeed, scan succeed'
  6915. initial condition: T2_2
  6916. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  6917. level: Integration
  6918. module: WIFI MAC
  6919. steps: '1. target 2 STA join target 1 SoftAP
  6920. 2. target 1 STA scan before target 2 JAP succeed
  6921. 3. target 2 STA QAP
  6922. 4. target 1 STA scan
  6923. 5. target 2 STA JAP before target 1 STA scan succeed'
  6924. sub module: WIFI Scan
  6925. summary: scan during ext STA join SoftAP
  6926. test environment: SSC_T2_1
  6927. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  6928. PC has 1 WiFi NIC.
  6929. 2 SSC target connect with PC by UART.'
  6930. test point 1: interaction
  6931. test point 2: Scan interact with other WiFi operation
  6932. version: v1 (2015-8-15)
  6933. - CI ready: 'Yes'
  6934. ID: ^TCPIP_DHCP_0101
  6935. SDK: '8266_NonOS
  6936. 8266_RTOS
  6937. ESP32_IDF'
  6938. Test App: SSC
  6939. allow fail: ''
  6940. auto test: 'Yes'
  6941. category: Function
  6942. cmd set:
  6943. - ''
  6944. - - SSC SSC1 dhcp -E -o 1
  6945. - ['R SSC1 C +DHCP:STA,OK']
  6946. - - SSC SSC1 ip -S -i 0.0.0.0
  6947. - [R SSC1 C +IP]
  6948. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  6949. - ['']
  6950. - - DELAY 20
  6951. - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
  6952. - - SSC SSC1 dhcp -S -o 1
  6953. - ['R SSC1 C +DHCP:STA,OK']
  6954. - - SSC SSC1 ip -Q
  6955. - ['R SSC1 C +STAIP:0.0.0.0']
  6956. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  6957. - ['R SSC1 C +JAP:CONNECTED']
  6958. - - SSC SSC1 ip -Q
  6959. - ['R SSC1 RE "\+STAIP:%%s"%%(<target_ip>)']
  6960. comment: ''
  6961. execution time: 0.0
  6962. expected result: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n\
  6963. 4.target1 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip"
  6964. initial condition: STAAP1
  6965. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  6966. by STAM1)
  6967. level: Integration
  6968. module: TCPIP
  6969. steps: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n4.target1\
  6970. \ 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip"
  6971. sub module: DHCP
  6972. summary: dhcp client function test
  6973. test environment: SSC_T1_1
  6974. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  6975. PC has 1 WiFi NIC.
  6976. 1 SSC target connect with PC by UART.'
  6977. test point 1: basic function
  6978. test point 2: DHCP client function test
  6979. version: v2 (2016-10-19)
  6980. - CI ready: 'Yes'
  6981. ID: ^TCPIP_DHCP_0103
  6982. SDK: '8266_NonOS
  6983. 8266_RTOS
  6984. ESP32_IDF'
  6985. Test App: SSC
  6986. allow fail: ''
  6987. auto test: 'Yes'
  6988. category: Function
  6989. cmd set:
  6990. - ''
  6991. - - SSC SSC1 op -S -o 3
  6992. - ['R SSC1 C +MODE:OK']
  6993. - - SSC SSC1 dhcp -S -o 3
  6994. - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
  6995. - - SSC SSC1 dhcp -Q -o 3
  6996. - ['R SSC1 C +DHCP:STA,STARTED C +DHCP:AP,STARTED']
  6997. - - SSC SSC1 dhcp -Q -o 1
  6998. - ['R SSC1 C +DHCP:STA,STARTED NC +DHCP:AP,STARTED']
  6999. - - SSC SSC1 dhcp -Q -o 2
  7000. - ['R SSC1 NC +DHCP:STA,STARTED C +DHCP:AP,STARTED']
  7001. - - SSC SSC1 dhcp -E -o 3
  7002. - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
  7003. - - SSC SSC1 dhcp -Q -o 3
  7004. - ['R SSC1 C +DHCP:STA,STOPPED C +DHCP:AP,STOPPED']
  7005. comment: ''
  7006. execution time: 0.0
  7007. expected result: '1.OK
  7008. 2.OK
  7009. 3.STA&AP STARTED
  7010. 4.STA STARTED
  7011. 5.AP STARTED
  7012. 6.OK
  7013. 7.STA&AP STOPPED'
  7014. initial condition: STAAP1
  7015. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  7016. by STAM1)
  7017. level: Integration
  7018. module: TCPIP
  7019. steps: '1.target1 设置mode 为sta+softAP mode
  7020. 2.target1 打开DHCP 3
  7021. 3.target1 查询DHCP 状态
  7022. 4.target1 查询sta DHCP 状态
  7023. 5.target1 查询softAP DHCP 状态
  7024. 6.target1 关闭 DHCP 3
  7025. 7.target1 查询 DHCP 状态'
  7026. sub module: DHCP
  7027. summary: dhcp status query
  7028. test environment: SSC_T1_1
  7029. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  7030. PC has 1 WiFi NIC.
  7031. 1 SSC target connect with PC by UART.'
  7032. test point 1: basic function
  7033. test point 2: DHCP client function test
  7034. version: v1 (2016-8-15)
  7035. - CI ready: 'Yes'
  7036. ID: ^TCPIP_DHCP_0201
  7037. SDK: '8266_NonOS
  7038. 8266_RTOS
  7039. ESP32_IDF'
  7040. Test App: SSC
  7041. allow fail: ''
  7042. auto test: 'Yes'
  7043. category: Function
  7044. cmd set:
  7045. - ''
  7046. - - SSC SSC1 dhcp -E -o 2
  7047. - ['R SSC1 C +DHCP:AP,OK']
  7048. - - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
  7049. - ['R SSC1 C +IP:OK']
  7050. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7051. - ['R SSC1 C +DHCP:LEASE,OK']
  7052. - - SSC SSC1 dhcp -L -s 192.168.4.1 -e 192.168.4.10
  7053. - ['R SSC1 C +DHCP:LEASE,ERROR']
  7054. - - SSC SSC1 dhcp -L -s 192.168.4.5 -e 192.168.4.2
  7055. - ['R SSC1 C +DHCP:LEASE,ERROR']
  7056. - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.5
  7057. - ['R SSC1 C +DHCP:LEASE,ERROR']
  7058. - - SSC SSC1 dhcp -S -o 2
  7059. - ['R SSC1 C +DHCP:AP,OK']
  7060. comment: ''
  7061. execution time: 0.0
  7062. expected result: '1.target1 关闭DHCP 2 OK
  7063. 2.target1 设置ip 成功
  7064. 3.设置dhcp 地址池 OK
  7065. 4.ERROR
  7066. 5.ERROR
  7067. 6.ERROR
  7068. 7.target1 打开DHCP ok'
  7069. initial condition: APSTA1
  7070. initial condition description (auto): testing ap on sta + ap mode (autogen by APM1)
  7071. level: Integration
  7072. module: TCPIP
  7073. steps: "1.target1 关闭DHCP 2 \n2.target1 设置ip \n3.设置dhcp 地址池\n4.设置dhcp错误的参数\n5.设置dhcp错误的参数\n\
  7074. 6.设置dhcp错误的参数\n7.target1 打开DHCP ok"
  7075. sub module: DHCP
  7076. summary: server dhcp lease test
  7077. test environment: SSC_T1_1
  7078. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  7079. PC has 1 WiFi NIC.
  7080. 1 SSC target connect with PC by UART.'
  7081. test point 1: basic function
  7082. test point 2: DHCP server function test
  7083. version: v1 (2016-8-15)
  7084. - CI ready: 'Yes'
  7085. ID: ^TCPIP_DHCP_0202
  7086. SDK: '8266_NonOS
  7087. 8266_RTOS
  7088. ESP32_IDF'
  7089. Test App: SSC
  7090. allow fail: ''
  7091. auto test: 'Yes'
  7092. category: Function
  7093. cmd set:
  7094. - ''
  7095. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7096. - ['R SSC1 C +SAP:OK']
  7097. - - SSC SSC1 dhcp -E -o 2
  7098. - ['R SSC1 C +DHCP:AP,OK']
  7099. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7100. - ['R SSC1 C +DHCP:LEASE,OK']
  7101. - - SSC SSC1 dhcp -S -o 2
  7102. - ['R SSC1 C +DHCP:AP,OK']
  7103. - - LOOP 3 4 "['01','02','03']" "[2,3,4]"
  7104. - ['']
  7105. - - SSC SSC2 sta -D
  7106. - ['R SSC2 C +QAP:OK']
  7107. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
  7108. - ['R SSC2 C +MAC:STA,OK']
  7109. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7110. - ['R SSC2 C +JAP:CONNECTED']
  7111. - - SSC SSC2 ip -Q -o 1
  7112. - ['R SSC2 C +STAIP:192.168.4.{%s}']
  7113. comment: ''
  7114. execution time: 0.0
  7115. expected result: '1. succeed
  7116. 2. succeed
  7117. 3,4: get IP from dhcp pool with correct sequence'
  7118. initial condition: T2_2
  7119. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7120. level: Integration
  7121. module: TCPIP
  7122. steps: '1. config softap to a random ssid
  7123. 2. config DHCP Server on Target1
  7124. 3. target change mac, connect to Target1
  7125. 4. Loop step3'
  7126. sub module: DHCP
  7127. summary: dhcp server ip pool
  7128. test environment: SSC_T2_1
  7129. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7130. PC has 1 WiFi NIC.
  7131. 2 SSC target connect with PC by UART.'
  7132. test point 1: basic function
  7133. test point 2: DHCP server function test
  7134. version: v1 (2016-8-15)
  7135. - CI ready: 'Yes'
  7136. ID: ^TCPIP_DHCP_0203
  7137. SDK: '8266_NonOS
  7138. 8266_RTOS
  7139. ESP32_IDF'
  7140. Test App: SSC
  7141. allow fail: ''
  7142. auto test: 'Yes'
  7143. category: Function
  7144. cmd set:
  7145. - ''
  7146. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7147. - ['R SSC1 C +SAP:OK']
  7148. - - SSC SSC1 dhcp -E -o 2
  7149. - ['R SSC1 C +DHCP:AP,OK']
  7150. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3
  7151. - ['R SSC1 C +DHCP:LEASE,OK']
  7152. - - SSC SSC1 dhcp -S -o 2
  7153. - ['R SSC1 C +DHCP:AP,OK']
  7154. - - LOOP 2 4 "['01','02']" "[2,3]"
  7155. - ['']
  7156. - - SSC SSC2 sta -D
  7157. - ['R SSC2 C +QAP:OK']
  7158. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
  7159. - ['R SSC2 C +MAC:STA,OK']
  7160. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7161. - ['R SSC2 C +JAP:CONNECTED']
  7162. - - SSC SSC2 ip -Q -o 1
  7163. - ['R SSC2 C +STAIP:192.168.4.{%s}']
  7164. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
  7165. - ['R SSC2 C +MAC:STA,OK']
  7166. - - DELAY 20
  7167. - ['']
  7168. - - SSC SSC2 ip -Q -o 1
  7169. - ['R SSC2 C +STAIP:0.0.0.0']
  7170. comment: ''
  7171. execution time: 0.0
  7172. expected result: '1. succeed
  7173. 2. succeed
  7174. 3. succeed
  7175. 4.1 succeed
  7176. 4.2 failed'
  7177. initial condition: T2_2
  7178. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7179. level: Integration
  7180. module: TCPIP
  7181. steps: '1. config softap to a random ssid
  7182. 2. config DHCP Server on Target1(.4.2 - .4.3)
  7183. 3. target change mac, connect to Target1
  7184. 4. Loop step3 twice'
  7185. sub module: DHCP
  7186. summary: dhcp server ip pool empty
  7187. test environment: SSC_T2_1
  7188. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7189. PC has 1 WiFi NIC.
  7190. 2 SSC target connect with PC by UART.'
  7191. test point 1: basic function
  7192. test point 2: DHCP server function test
  7193. version: v1 (2016-8-15)
  7194. - CI ready: 'Yes'
  7195. ID: ^TCPIP_DHCP_0204
  7196. SDK: '8266_NonOS
  7197. 8266_RTOS
  7198. ESP32_IDF'
  7199. Test App: SSC
  7200. allow fail: ''
  7201. auto test: 'Yes'
  7202. category: Function
  7203. cmd set:
  7204. - ''
  7205. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7206. - ['R SSC1 C +SAP:OK']
  7207. - - SSC SSC1 dhcp -E -o 2
  7208. - ['R SSC1 C +DHCP:AP,OK']
  7209. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3 -t 1
  7210. - ['R SSC1 C +DHCP:LEASE,OK']
  7211. - - SSC SSC1 dhcp -S -o 2
  7212. - ['R SSC1 C +DHCP:AP,OK']
  7213. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7214. - ['R SSC2 C +JAP:CONNECTED']
  7215. - - SSC SSC2 ip -Q -o 1
  7216. - ['R SSC2 C +STAIP:192.168.4.2']
  7217. - - DELAY 90
  7218. - ['']
  7219. - - SSC SSC2 ip -Q -o 1
  7220. - ['R SSC2 C +STAIP:192.168.4.2']
  7221. - - SSC SSC2 sta -D
  7222. - ['R SSC2 C +JAP:DISCONNECTED']
  7223. - - DELAY 60
  7224. - ['']
  7225. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
  7226. - ['R SSC2 C +MAC:STA,OK']
  7227. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7228. - ['R SSC2 C +JAP:CONNECTED']
  7229. - - SSC SSC2 ip -Q -o 1
  7230. - ['R SSC2 C +STAIP:192.168.4.2']
  7231. comment: ''
  7232. execution time: 0.0
  7233. expected result: '1. succeed
  7234. 2. succeed
  7235. 3. get IP 192.168.4.2
  7236. 5. succeed
  7237. 6. succeed
  7238. 8. get IP 192.168.4.2'
  7239. initial condition: T2_2
  7240. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7241. level: Integration
  7242. module: TCPIP
  7243. steps: '1. config softap to a random ssid
  7244. 2. config DHCP timeout as 1 minute
  7245. 3. target2 connect to target1
  7246. 4. wait 90 seconds
  7247. 5. check if target2 IP is same
  7248. 6. target2 disconnect
  7249. 7. wait 60s
  7250. 8. target2 change mac and connect to target1'
  7251. sub module: DHCP
  7252. summary: dhcp server timeout test
  7253. test environment: SSC_T2_1
  7254. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7255. PC has 1 WiFi NIC.
  7256. 2 SSC target connect with PC by UART.'
  7257. test point 1: basic function
  7258. test point 2: DHCP server function test
  7259. version: v1 (2016-8-15)
  7260. - CI ready: 'Yes'
  7261. ID: ^TCPIP_DHCP_0205
  7262. SDK: '8266_NonOS
  7263. 8266_RTOS
  7264. ESP32_IDF'
  7265. Test App: SSC
  7266. allow fail: ''
  7267. auto test: 'Yes'
  7268. category: Function
  7269. cmd set:
  7270. - ''
  7271. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7272. - ['R SSC1 C +SAP:OK']
  7273. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7274. - ['R SSC2 C +JAP:CONNECTED']
  7275. - - SSC SSC1 dhcp -E -o 2
  7276. - ['R SSC1 C +DHCP:AP,OK']
  7277. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.3 -t 1
  7278. - ['P SSC1 C +DHCP:LEASE,OK']
  7279. - - SSC SSC1 dhcp -S -o 2
  7280. - ['P SSC1 C +DHCP:AP,OK', 'P SSC2 C +JAP:DISCONNECTED']
  7281. comment: ''
  7282. execution time: 0.0
  7283. expected result: '1. succeed
  7284. 2. succeed
  7285. 3. target2 wifi disconnected'
  7286. initial condition: T2_2
  7287. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7288. level: Integration
  7289. module: TCPIP
  7290. steps: '1. config softap to a random ssid
  7291. 2. target2 connect to target1
  7292. 3. disable DHCP server, do config and enable'
  7293. sub module: DHCP
  7294. summary: disconnect STA if config dhcp server
  7295. test environment: SSC_T2_1
  7296. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7297. PC has 1 WiFi NIC.
  7298. 2 SSC target connect with PC by UART.'
  7299. test point 1: basic function
  7300. test point 2: DHCP server function test
  7301. version: v1 (2016-8-15)
  7302. - CI ready: 'Yes'
  7303. ID: ^TCPIP_DHCP_0206
  7304. SDK: '8266_NonOS
  7305. 8266_RTOS
  7306. ESP32_IDF'
  7307. Test App: SSC
  7308. allow fail: ''
  7309. auto test: 'Yes'
  7310. category: Function
  7311. cmd set:
  7312. - ''
  7313. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7314. - ['R SSC1 C +SAP:OK']
  7315. - - SSC SSC1 dhcp -E -o 2
  7316. - ['R SSC1 C +DHCP:AP,OK']
  7317. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7318. - ['R SSC1 C +DHCP:LEASE,OK']
  7319. - - SSC SSC1 dhcp -S -o 2
  7320. - ['R SSC1 C +DHCP:AP,OK']
  7321. - - LOOP 4 4 "['01','02','03','01']" "[2,3,4,2]"
  7322. - ['']
  7323. - - SSC SSC2 sta -D
  7324. - ['R SSC2 C +QAP:OK']
  7325. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s}
  7326. - ['R SSC2 C +MAC:STA,OK']
  7327. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7328. - ['R SSC2 C +JAP:CONNECTED']
  7329. - - SSC SSC2 ip -Q -o 1
  7330. - ['R SSC2 C +STAIP:192.168.4.{%s}']
  7331. comment: ''
  7332. execution time: 0.0
  7333. expected result: '1. succeed
  7334. 2. succeed
  7335. 4. get IP 192.168.4.2 - 192.168.4.4
  7336. 5. get IP 192.168.4.2'
  7337. initial condition: T2_2
  7338. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7339. level: Integration
  7340. module: TCPIP
  7341. steps: '1. config softap to a random ssid
  7342. 2. disable DHCP server, do config and enable
  7343. 3. target2 change mac, connect to softap, disconnect
  7344. 4. Loop step3 twice
  7345. 5. change to first mac, connect to softap'
  7346. sub module: DHCP
  7347. summary: dhcp server assign same IP to same MAC when it's not released
  7348. test environment: SSC_T2_1
  7349. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7350. PC has 1 WiFi NIC.
  7351. 2 SSC target connect with PC by UART.'
  7352. test point 1: basic function
  7353. test point 2: DHCP server function test
  7354. version: v1 (2016-8-15)
  7355. - CI ready: 'Yes'
  7356. ID: ^TCPIP_DHCP_0207
  7357. SDK: '8266_NonOS
  7358. 8266_RTOS
  7359. ESP32_IDF'
  7360. Test App: SSC
  7361. allow fail: ''
  7362. auto test: 'Yes'
  7363. category: Function
  7364. cmd set:
  7365. - ''
  7366. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7367. - ['R SSC1 C +SAP:OK']
  7368. - - SSC SSC1 dhcp -E -o 2
  7369. - ['R SSC1 C +DHCP:AP,OK']
  7370. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7371. - ['R SSC1 C +DHCP:LEASE,OK']
  7372. - - SSC SSC1 dhcp -S -o 2
  7373. - ['R SSC1 C +DHCP:AP,OK']
  7374. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  7375. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  7376. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7377. - ['R SSC2 C +JAP:CONNECTED']
  7378. - - WIFI <pc_wifi_nic> DISCONN2
  7379. - ['R PC_COM NC ERROR C +WIFIDISCONN:OK']
  7380. - - SSC SSC2 sta -D
  7381. - ['R SSC2 C +QAP:OK']
  7382. - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66
  7383. - ['R SSC2 C +MAC:STA,OK']
  7384. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7385. - ['R SSC2 C +JAP:CONNECTED']
  7386. - - SSC SSC2 ip -Q -o 1
  7387. - ['R SSC2 C +STAIP:192.168.4.2']
  7388. comment: ''
  7389. execution time: 0.0
  7390. expected result: '1. succeed
  7391. 2. succeed
  7392. 3. get IP 192.168.4.2
  7393. 4. succeed
  7394. 5. succeed
  7395. 6. get IP 192.168.4.2'
  7396. initial condition: T2_2
  7397. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7398. level: Integration
  7399. module: TCPIP
  7400. steps: '1. config softap to a random ssid
  7401. 2. disable DHCP server, do config and enable
  7402. 3. PC WIFI NIC connect to target1 softap
  7403. 4. target2 connect to target1 softap and disnnect
  7404. 5. PC release IP and disconnected
  7405. 6. target2 change mac and connect to target1'
  7406. sub module: DHCP
  7407. summary: dhcp server prefer assign released IP to new client
  7408. test environment: SSC_T2_1
  7409. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7410. PC has 1 WiFi NIC.
  7411. 2 SSC target connect with PC by UART.'
  7412. test point 1: basic function
  7413. test point 2: DHCP server function test
  7414. version: v1 (2016-8-15)
  7415. - CI ready: 'Yes'
  7416. ID: ^TCPIP_DHCP_0208
  7417. SDK: '8266_NonOS
  7418. 8266_RTOS
  7419. ESP32_IDF'
  7420. Test App: SSC
  7421. allow fail: ''
  7422. auto test: 'Yes'
  7423. category: Function
  7424. cmd set:
  7425. - ''
  7426. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7427. - ['R SSC1 C +SAP:OK']
  7428. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7429. - ['R SSC2 C +JAP:CONNECTED']
  7430. - - SSC SSC1 dhcp -E -o 2
  7431. - ['R SSC1 C +DHCP:AP,OK']
  7432. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7433. - ['R SSC1 C +DHCP:LEASE,OK']
  7434. - - SSC SSC1 dhcp -S -o 2
  7435. - ['P SSC1 C +DHCP:AP,OK', 'P SSC2 C +JAP:DISCONNECTED']
  7436. - - SSC SSC2 sta -D
  7437. - ['R SSC2 C +JAP:DISCONNECTED']
  7438. - - SSC SSC1 dhcp -S -o 2
  7439. - ['R SSC1 C +DHCP:AP,OK']
  7440. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  7441. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  7442. - - SSC SSC1 ap -L
  7443. - [R SSC1 C 192.168.4.2 P <pc_wifi_nic_mac>]
  7444. comment: ''
  7445. execution time: 0.0
  7446. expected result: '1. succeed
  7447. 2. succeed
  7448. 3. succeed
  7449. 4. get IP 192.168.4.2
  7450. 5. can only find target2 with IP 192.168.4.2'
  7451. initial condition: T2_2
  7452. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7453. level: Integration
  7454. module: TCPIP
  7455. steps: '1. config softap to a random ssid
  7456. 2. PC NIC connect to target1 softap
  7457. 3. disable DHCP server, do config and enable
  7458. 4. target2 connect to target1 softap
  7459. 5. softap list connected station'
  7460. sub module: DHCP
  7461. summary: dhcp server reconfig and new client able to get first IP in pool
  7462. test environment: SSC_T2_1
  7463. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7464. PC has 1 WiFi NIC.
  7465. 2 SSC target connect with PC by UART.'
  7466. test point 1: basic function
  7467. test point 2: DHCP server function test
  7468. version: v1 (2016-8-15)
  7469. - CI ready: 'Yes'
  7470. ID: ^TCPIP_DHCP_0209
  7471. SDK: '8266_NonOS
  7472. 8266_RTOS
  7473. ESP32_IDF'
  7474. Test App: SSC
  7475. allow fail: ''
  7476. auto test: 'Yes'
  7477. category: Function
  7478. cmd set:
  7479. - ''
  7480. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7481. - ['R SSC1 C +SAP:OK']
  7482. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7483. - ['R SSC2 C +JAP:CONNECTED']
  7484. - - SSC SSC1 dhcp -E -o 2
  7485. - ['R SSC1 C +DHCP:AP,OK']
  7486. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7487. - ['R SSC1 C +DHCP:LEASE,OK']
  7488. - - SSC SSC1 dhcp -S -o 2
  7489. - ['R SSC1 C +DHCP:AP,OK']
  7490. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  7491. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  7492. - - DELAY 20
  7493. - ['']
  7494. - - SSC SSC1 ap -L
  7495. - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
  7496. comment: ''
  7497. execution time: 0.0
  7498. expected result: '1. succeed
  7499. 2. succeed
  7500. 3. succeed
  7501. 4. succeed
  7502. 5. find target2 and PC'
  7503. initial condition: T2_2
  7504. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7505. level: Integration
  7506. module: TCPIP
  7507. steps: '1. config softap to a random ssid
  7508. 2. target2 connect to target1 softap
  7509. 3. disable DHCP server, do config and enable
  7510. 4. PC NIC connect to target1 softap
  7511. 5. softap list connected station'
  7512. sub module: DHCP
  7513. summary: dhcp server reconfig, old client and new client able to get IP
  7514. test environment: SSC_T2_1
  7515. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7516. PC has 1 WiFi NIC.
  7517. 2 SSC target connect with PC by UART.'
  7518. test point 1: basic function
  7519. test point 2: DHCP server function test
  7520. version: v1 (2016-8-15)
  7521. - CI ready: 'Yes'
  7522. ID: ^TCPIP_DHCP_0210
  7523. SDK: '8266_NonOS
  7524. 8266_RTOS
  7525. ESP32_IDF'
  7526. Test App: SSC
  7527. allow fail: ''
  7528. auto test: 'Yes'
  7529. category: Function
  7530. cmd set:
  7531. - ''
  7532. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7533. - ['R SSC1 C +SAP:OK']
  7534. - - SSC SSC1 dhcp -E -o 2
  7535. - ['R SSC1 C +DHCP:AP,OK']
  7536. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7537. - ['R SSC1 C +DHCP:LEASE,OK']
  7538. - - SSC SSC1 dhcp -S -o 2
  7539. - ['R SSC1 C +DHCP:AP,OK']
  7540. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7541. - ['R SSC2 C +JAP:CONNECTED']
  7542. - - WIFI <pc_wifi_nic> CONN2 <random_string> <random_string> 192.168.4.2
  7543. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  7544. - - SSC SSC1 ap -L
  7545. - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
  7546. comment: ''
  7547. execution time: 0.0
  7548. expected result: '1. succeed
  7549. 2. succeed
  7550. 3. succeed
  7551. 4. succeed
  7552. 5. find target2 and PC'
  7553. initial condition: T2_2
  7554. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7555. level: Integration
  7556. module: TCPIP
  7557. steps: '1. config softap to a random ssid
  7558. 2. target2 connect to target1 softap
  7559. 3. disable DHCP server, do config and enable
  7560. 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
  7561. 5. softap list connected station'
  7562. sub module: DHCP
  7563. summary: dhcp server reconfig, old client able to get IP (discover with requested
  7564. IP)
  7565. test environment: SSC_T2_1
  7566. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7567. PC has 1 WiFi NIC.
  7568. 2 SSC target connect with PC by UART.'
  7569. test point 1: basic function
  7570. test point 2: DHCP server function test
  7571. version: v1 (2016-8-15)
  7572. - CI ready: 'Yes'
  7573. ID: ^TCPIP_DHCP_0211
  7574. SDK: '8266_NonOS
  7575. 8266_RTOS
  7576. ESP32_IDF'
  7577. Test App: SSC
  7578. allow fail: ''
  7579. auto test: 'Yes'
  7580. category: Function
  7581. cmd set:
  7582. - ''
  7583. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  7584. - ['R SSC1 C +SAP:OK']
  7585. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
  7586. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  7587. - - SSC SSC1 dhcp -E -o 2
  7588. - ['R SSC1 C +DHCP:AP,OK']
  7589. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
  7590. - ['R SSC1 C +DHCP:LEASE,OK']
  7591. - - SSC SSC1 dhcp -S -o 2
  7592. - ['R SSC1 C +DHCP:AP,OK']
  7593. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  7594. - ['R SSC2 C +JAP:CONNECTED']
  7595. - - DELAY 30
  7596. - ['']
  7597. - - SSC SSC1 ap -L
  7598. - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
  7599. comment: ''
  7600. execution time: 0.0
  7601. expected result: '1. succeed
  7602. 2. succeed
  7603. 3. succeed
  7604. 4. succeed
  7605. 5. find target2 and PC'
  7606. initial condition: T2_2
  7607. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7608. level: Integration
  7609. module: TCPIP
  7610. steps: '1. config softap to a random ssid
  7611. 2. target2 connect to target1 softap
  7612. 3. disable DHCP server, do config and enable
  7613. 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
  7614. 5. softap list connected station'
  7615. sub module: DHCP
  7616. summary: dhcp server reconfig, old client able to renew IP (direct send request)
  7617. test environment: SSC_T2_1
  7618. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7619. PC has 1 WiFi NIC.
  7620. 2 SSC target connect with PC by UART.'
  7621. test point 1: basic function
  7622. test point 2: DHCP server function test
  7623. version: v1 (2016-8-15)
  7624. - CI ready: 'Yes'
  7625. ID: ^TCPIP_DHCP_0212
  7626. SDK: '8266_NonOS
  7627. 8266_RTOS
  7628. ESP32_IDF'
  7629. Test App: SSC
  7630. allow fail: ''
  7631. auto test: 'Yes'
  7632. category: Function
  7633. cmd set:
  7634. - ''
  7635. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  7636. - ['R SSC1 C +SAP:OK']
  7637. - - SSC SSC1 dhcp -E -o 2
  7638. - ['R SSC1 C +DHCP:AP,OK']
  7639. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  7640. - ['']
  7641. - - DELAY 20
  7642. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  7643. - - SSC SSC1 dhcp -S -o 2
  7644. - ['R SSC1 C +DHCP:AP,OK']
  7645. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  7646. - ['R SSC2 C +JAP:CONNECTED']
  7647. comment: ''
  7648. execution time: 0.0
  7649. expected result: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target\
  7650. \ 1,FAIL \n4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
  7651. initial condition: T2_2
  7652. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7653. level: Integration
  7654. module: TCPIP
  7655. steps: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target 1,FAIL \n\
  7656. 4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
  7657. sub module: DHCP
  7658. summary: dhcp server function test
  7659. test environment: SSC_T2_1
  7660. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7661. PC has 1 WiFi NIC.
  7662. 2 SSC target connect with PC by UART.'
  7663. test point 1: basic function
  7664. test point 2: DHCP server function test
  7665. version: v2 (2016-10-19)
  7666. - CI ready: 'Yes'
  7667. ID: ^TCPIP_DHCP_0301
  7668. SDK: '8266_NonOS
  7669. 8266_RTOS
  7670. ESP32_IDF'
  7671. Test App: SSC
  7672. allow fail: ''
  7673. auto test: 'Yes'
  7674. category: Function
  7675. cmd set:
  7676. - ''
  7677. - - SSC SSC1 dhcp -E -o 1
  7678. - ['R SSC1 C +DHCP:STA,OK']
  7679. - - SSC SSC1 ip -S -i 192.168.123.123 -o 1
  7680. - ['R SSC1 C +IP:OK']
  7681. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  7682. - ['R SSC1 C +JAP:CONNECTED']
  7683. - - SSC SSC1 ip -S -i 0.0.0.0 -o 1
  7684. - [R SSC1 C +IP]
  7685. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  7686. - ['']
  7687. - - DELAY 10
  7688. - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
  7689. comment: ''
  7690. execution time: 0.0
  7691. expected result: '1.OK
  7692. 2.OK
  7693. 3.JAP CONNETED
  7694. 4.OK
  7695. 5.等待10s,JAP fail'
  7696. initial condition: STAAP1
  7697. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  7698. by STAM1)
  7699. level: Integration
  7700. module: TCPIP
  7701. steps: '1.target1 关闭DHCP 1
  7702. 2.target1 设置sta ip 192.168.123.123
  7703. 4.target1 jap AP
  7704. 5.target1 设置sta ip 0.0.0.0
  7705. 6.target1 jap AP'
  7706. sub module: DHCP
  7707. summary: sta dhcp static ip interaction
  7708. test environment: SSC_T1_1
  7709. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  7710. PC has 1 WiFi NIC.
  7711. 1 SSC target connect with PC by UART.'
  7712. test point 1: interaction
  7713. test point 2: static IP and DHCP interaction test
  7714. version: v2 (2016-10-19)
  7715. - CI ready: 'Yes'
  7716. ID: ^TCPIP_DHCP_0302
  7717. SDK: '8266_NonOS
  7718. 8266_RTOS
  7719. ESP32_IDF'
  7720. Test App: SSC
  7721. allow fail: ''
  7722. auto test: 'Yes'
  7723. category: Function
  7724. cmd set:
  7725. - ''
  7726. - - SSC SSC1 dhcp -S -o 2
  7727. - ['R SSC1 C +DHCP:AP,OK']
  7728. - - SSC SSC1 ip -S -i 192.168.123.123 -o 2
  7729. - ['R SSC1 C +IP:ERROR']
  7730. - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.10
  7731. - ['R SSC1 C +DHCP:LEASE,ERROR']
  7732. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  7733. - ['']
  7734. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  7735. - ['P SSC2 C +JAP:CONNECTED']
  7736. - - SSC SSC1 dhcp -E -o 2
  7737. - ['R SSC1 C +DHCP:AP,OK']
  7738. - - SSC SSC1 ip -S -i 192.168.4.1 -o 2
  7739. - ['R SSC1 C +IP:OK']
  7740. - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.10
  7741. - ['R SSC1 C +DHCP:LEASE,OK']
  7742. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  7743. - ['']
  7744. - - DELAY 10
  7745. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  7746. comment: ''
  7747. execution time: 0.0
  7748. expected result: '1.target 1 OK
  7749. 2.target1 ERROR
  7750. 3.target1 ERROR
  7751. 4.target2 jap target1 OK
  7752. 5.target1 OK
  7753. 6.target1 OK
  7754. 7.target1 OK
  7755. 8.target2 jap target1 OK'
  7756. initial condition: T2_2
  7757. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  7758. level: Integration
  7759. module: TCPIP
  7760. steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n3.target1 设置地址池\n\
  7761. 4.target1下设置ssid 和pwd 加密方式\n5.target2 连接target1 \n6.target1 关闭DHCP 2\n7.target1\
  7762. \ 设置softAP ip \n8.target1 设置正确的地址池\n9.target2 连接target1"
  7763. sub module: DHCP
  7764. summary: ap dhcp static ip interaction
  7765. test environment: SSC_T2_1
  7766. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  7767. PC has 1 WiFi NIC.
  7768. 2 SSC target connect with PC by UART.'
  7769. test point 1: interaction
  7770. test point 2: static IP and DHCP interaction test
  7771. version: v1 (2016-8-15)
  7772. - CI ready: 'Yes'
  7773. ID: ^TCPIP_DNS_0101
  7774. SDK: '8266_NonOS
  7775. 8266_RTOS
  7776. ESP32_IDF'
  7777. Test App: SSC
  7778. allow fail: 3/5
  7779. auto test: 'Yes'
  7780. category: Function
  7781. cmd set:
  7782. - ''
  7783. - - SSC SSC1 soc -H -d iot.espressif.cn
  7784. - ['R SSC1 C +HOSTIP:OK,115.29.202.58']
  7785. comment: ''
  7786. execution time: 0.0
  7787. expected result: 1.OK
  7788. initial condition: STAAP2
  7789. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  7790. on (autogen by STAM2)
  7791. level: Integration
  7792. module: TCPIP
  7793. steps: 1. get host name "espressif.cn"
  7794. sub module: DNS
  7795. summary: get host by name test
  7796. test environment: SSC_T1_2
  7797. test environment description (auto): 'Able to access WAN after connect to AP.
  7798. 1 SSC target connect with PC by UART.'
  7799. test point 1: basic function
  7800. test point 2: DNS function test
  7801. version: v1 (2016-8-15)
  7802. - CI ready: 'Yes'
  7803. ID: ^TCPIP_DNS_0102
  7804. SDK: '8266_NonOS
  7805. 8266_RTOS
  7806. ESP32_IDF'
  7807. Test App: SSC
  7808. allow fail: 3/5
  7809. auto test: 'Yes'
  7810. category: Function
  7811. cmd set:
  7812. - ''
  7813. - - SSC SSC1 soc -H -d factory.espressif.cn
  7814. - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
  7815. - - SSC SSC1 soc -B -t TCP
  7816. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  7817. - - SSC SSC1 soc -C -s <sock1> -i <ip_addr> -p 9001
  7818. - ['R SSC1 RE \+CONNECT:\d+,OK']
  7819. - - SSC SSC1 soc -S -s <sock1> -l 10
  7820. - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
  7821. comment: ''
  7822. execution time: 0.0
  7823. expected result: '1.OK
  7824. 2.OK
  7825. 3.OK
  7826. 4.OK'
  7827. initial condition: STAAP2
  7828. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  7829. on (autogen by STAM2)
  7830. level: Integration
  7831. module: TCPIP
  7832. steps: '1. get host name "espressif.cn"
  7833. 2. connect, send, recv1. get host name "espressif.cn"
  7834. 2. connect, send, recv'
  7835. sub module: DNS
  7836. summary: TCP connect to iot.espressif.com
  7837. test environment: SSC_T1_2
  7838. test environment description (auto): 'Able to access WAN after connect to AP.
  7839. 1 SSC target connect with PC by UART.'
  7840. test point 1: basic function
  7841. test point 2: DNS function test
  7842. version: v2 (2016-10-19)
  7843. - CI ready: 'Yes'
  7844. ID: ^TCPIP_DNS_0103
  7845. SDK: '8266_NonOS
  7846. 8266_RTOS
  7847. ESP32_IDF'
  7848. Test App: SSC
  7849. allow fail: 3/5
  7850. auto test: 'Yes'
  7851. category: Function
  7852. cmd set:
  7853. - ''
  7854. - - SSC SSC1 soc -H -d factory.espressif.cn
  7855. - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
  7856. - - SSC SSC1 soc -B -t UDP
  7857. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  7858. - - SSC SSC1 soc -S -s <sock1> -i <ip_addr> -p 9003 -l 10
  7859. - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
  7860. comment: ''
  7861. execution time: 0.0
  7862. expected result: '1.OK
  7863. 2.OK
  7864. 3.OK'
  7865. initial condition: STAAP2
  7866. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  7867. on (autogen by STAM2)
  7868. level: Integration
  7869. module: TCPIP
  7870. steps: '1. get host name "espressif.cn"
  7871. 2. sendto, recvfrom1. get host name "espressif.cn"
  7872. 2. sendto, recvfrom'
  7873. sub module: DNS
  7874. summary: UDP send to iot.expressif.com
  7875. test environment: SSC_T1_2
  7876. test environment description (auto): 'Able to access WAN after connect to AP.
  7877. 1 SSC target connect with PC by UART.'
  7878. test point 1: basic function
  7879. test point 2: DNS function test
  7880. version: v2 (2016-10-19)
  7881. - CI ready: 'Yes'
  7882. ID: ^TCPIP_ICMP_0101
  7883. SDK: '8266_NonOS
  7884. 8266_RTOS
  7885. ESP32_IDF'
  7886. Test App: SSC
  7887. allow fail: 1/5
  7888. auto test: 'Yes'
  7889. category: Function
  7890. cmd set:
  7891. - ''
  7892. - - SSC SSC1 ping -i <pc_ip>
  7893. - ['R SSC1 C +PING:OK']
  7894. - - SSC SSC1 ping -i <pc_ip> -c 2
  7895. - ['R SSC1 C +PING:OK']
  7896. comment: ''
  7897. execution time: 0.0
  7898. expected result: '1.ok
  7899. 2.ok'
  7900. initial condition: STAAP2
  7901. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  7902. on (autogen by STAM2)
  7903. level: Integration
  7904. module: TCPIP
  7905. steps: '1.ping -i <pc_ip>
  7906. 2.ping -i <pc_ip> -c 2'
  7907. sub module: ICMP
  7908. summary: ping function test
  7909. test environment: SSC_T1_1
  7910. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  7911. PC has 1 WiFi NIC.
  7912. 1 SSC target connect with PC by UART.'
  7913. test point 1: basic function
  7914. test point 2: ping function test
  7915. version: v1 (2016-8-15)
  7916. - CI ready: 'Yes'
  7917. ID: ^TCPIP_IGMP_0101
  7918. SDK: '8266_NonOS
  7919. 8266_RTOS
  7920. ESP32_IDF'
  7921. Test App: SSC
  7922. allow fail: ''
  7923. auto test: 'Yes'
  7924. category: Function
  7925. cmd set:
  7926. - ''
  7927. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  7928. - ['R SSC1 C +IGMP:OK']
  7929. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  7930. - ['R SSC1 C +IGMP:OK']
  7931. - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
  7932. - ['R SSC1 C +IGMP:ERROR']
  7933. - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
  7934. - ['R SSC1 C +IGMP:ERROR']
  7935. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
  7936. - ['R SSC1 C +IGMP:ERROR']
  7937. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
  7938. - ['R SSC1 C +IGMP:ERROR']
  7939. comment: ''
  7940. execution time: 0.0
  7941. expected result: '1. success
  7942. 2. failed
  7943. 3. failed
  7944. 4. failed'
  7945. initial condition: STAAP2
  7946. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  7947. on (autogen by STAM2)
  7948. level: Integration
  7949. module: TCPIP
  7950. steps: '1. join group with correct host addr and multicast addr
  7951. 2. join group with correct host addr and wrong multicast addr
  7952. 3. join group with wrong host addr and correct multicast addr
  7953. 4. join group with wrong host addr and wrong multicast addr'
  7954. sub module: IGMP
  7955. summary: station IGMP join group address check
  7956. test environment: SSC_T1_1
  7957. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  7958. PC has 1 WiFi NIC.
  7959. 1 SSC target connect with PC by UART.'
  7960. test point 1: basic function
  7961. test point 2: IGMP API parameter check
  7962. version: v1 (2016-8-15)
  7963. - CI ready: 'Yes'
  7964. ID: ^TCPIP_IGMP_0102
  7965. SDK: '8266_NonOS
  7966. 8266_RTOS
  7967. ESP32_IDF'
  7968. Test App: SSC
  7969. allow fail: ''
  7970. auto test: 'Yes'
  7971. category: Function
  7972. cmd set:
  7973. - ''
  7974. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  7975. - ['R SSC1 C +IGMP:OK']
  7976. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
  7977. - ['R SSC1 C +IGMP:ERROR']
  7978. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
  7979. - ['R SSC1 C +IGMP:ERROR']
  7980. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
  7981. - ['R SSC1 C +IGMP:ERROR']
  7982. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  7983. - ['R SSC1 C +IGMP:OK']
  7984. comment: ''
  7985. execution time: 0.0
  7986. expected result: '1. success
  7987. 2. failed
  7988. 3. failed
  7989. 4. failed
  7990. 5. succeed'
  7991. initial condition: STAAP2
  7992. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  7993. on (autogen by STAM2)
  7994. level: Integration
  7995. module: TCPIP
  7996. steps: '1. join group with correct host addr and multicast addr
  7997. 2. leave group with correct host addr and wrong multicast addr
  7998. 3. leave group with wrong host addr and correct multicast addr
  7999. 4. leave group with wrong host addr and wrong multicast addr
  8000. 5. leave group with correct host addr and correct multicast addr'
  8001. sub module: IGMP
  8002. summary: station IGMP leave group address check
  8003. test environment: SSC_T1_1
  8004. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8005. PC has 1 WiFi NIC.
  8006. 1 SSC target connect with PC by UART.'
  8007. test point 1: basic function
  8008. test point 2: IGMP API parameter check
  8009. version: v1 (2016-8-15)
  8010. - CI ready: 'Yes'
  8011. ID: ^TCPIP_IGMP_0103
  8012. SDK: '8266_NonOS
  8013. 8266_RTOS
  8014. ESP32_IDF'
  8015. Test App: SSC
  8016. allow fail: ''
  8017. auto test: 'Yes'
  8018. category: Function
  8019. cmd set:
  8020. - ''
  8021. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  8022. - ['R SSC1 C +IGMP:OK']
  8023. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  8024. - ['R SSC1 C +IGMP:OK']
  8025. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 223.1.1.1
  8026. - ['R SSC1 C +IGMP:ERROR']
  8027. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 240.1.1.1
  8028. - ['R SSC1 C +IGMP:ERROR']
  8029. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
  8030. - ['R SSC1 C +IGMP:ERROR']
  8031. - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
  8032. - ['R SSC1 C +IGMP:ERROR']
  8033. comment: ''
  8034. execution time: 0.0
  8035. expected result: '1. success
  8036. 2. failed
  8037. 3. failed
  8038. 4. failed'
  8039. initial condition: APSTA2
  8040. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  8041. by APM2)
  8042. level: Integration
  8043. module: TCPIP
  8044. steps: '1. join group with correct host addr and multicast addr
  8045. 2. join group with correct host addr and wrong multicast addr
  8046. 3. join group with wrong host addr and correct multicast addr
  8047. 4. join group with wrong host addr and wrong multicast addr'
  8048. sub module: IGMP
  8049. summary: softAP IGMP join group address check
  8050. test environment: SSC_T1_1
  8051. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8052. PC has 1 WiFi NIC.
  8053. 1 SSC target connect with PC by UART.'
  8054. test point 1: basic function
  8055. test point 2: IGMP API parameter check
  8056. version: v1 (2016-8-15)
  8057. - CI ready: 'Yes'
  8058. ID: ^TCPIP_IGMP_0104
  8059. SDK: '8266_NonOS
  8060. 8266_RTOS
  8061. ESP32_IDF'
  8062. Test App: SSC
  8063. allow fail: ''
  8064. auto test: 'Yes'
  8065. category: Function
  8066. cmd set:
  8067. - ''
  8068. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  8069. - ['R SSC1 C +IGMP:OK']
  8070. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
  8071. - ['R SSC1 C +IGMP:ERROR']
  8072. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
  8073. - ['R SSC1 C +IGMP:ERROR']
  8074. - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
  8075. - ['R SSC1 C +IGMP:ERROR']
  8076. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  8077. - ['R SSC1 C +IGMP:OK']
  8078. comment: ''
  8079. execution time: 0.0
  8080. expected result: '1. success
  8081. 2. failed
  8082. 3. failed
  8083. 4. failed
  8084. 5. succeed'
  8085. initial condition: APSTA2
  8086. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  8087. by APM2)
  8088. level: Integration
  8089. module: TCPIP
  8090. steps: '1. join group with correct host addr and multicast addr
  8091. 2. leave group with correct host addr and wrong multicast addr
  8092. 3. leave group with wrong host addr and correct multicast addr
  8093. 4. leave group with wrong host addr and wrong multicast addr
  8094. 5. leave group with correct host addr and correct multicast addr'
  8095. sub module: IGMP
  8096. summary: softAP IGMP leave group address check
  8097. test environment: SSC_T1_1
  8098. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8099. PC has 1 WiFi NIC.
  8100. 1 SSC target connect with PC by UART.'
  8101. test point 1: basic function
  8102. test point 2: IGMP API parameter check
  8103. version: v1 (2016-8-15)
  8104. - CI ready: 'Yes'
  8105. ID: ^TCPIP_IGMP_0201
  8106. SDK: '8266_NonOS
  8107. 8266_RTOS
  8108. ESP32_IDF'
  8109. Test App: SSC
  8110. allow fail: ''
  8111. auto test: 'Yes'
  8112. category: Function
  8113. cmd set:
  8114. - ''
  8115. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  8116. - ['R SSC1 C +IGMP:OK']
  8117. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  8118. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  8119. - - SOC SOC1 BIND <test_udp_port1>
  8120. - [R SOC_COM L OK]
  8121. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  8122. - [R SSC1 SL <sock1>+1]
  8123. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  8124. - ['R SSC1 C +IGMP:OK']
  8125. comment: ''
  8126. execution time: 0.0
  8127. expected result: '1. succeed
  8128. 2. succeed
  8129. 3. able to recv packet'
  8130. initial condition: STAAP2
  8131. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8132. on (autogen by STAM2)
  8133. level: Integration
  8134. module: TCPIP
  8135. steps: '1. join group
  8136. 2. create UDP socket using multicast addr
  8137. 3. PC send UDP packet to multicast addr'
  8138. sub module: IGMP
  8139. summary: station IGMP recv packets
  8140. test environment: SSC_T1_1
  8141. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8142. PC has 1 WiFi NIC.
  8143. 1 SSC target connect with PC by UART.'
  8144. test point 1: basic function
  8145. test point 2: IGMP send/recv test
  8146. version: v1 (2016-8-15)
  8147. - CI ready: 'Yes'
  8148. ID: ^TCPIP_IGMP_0202
  8149. SDK: '8266_NonOS
  8150. 8266_RTOS
  8151. ESP32_IDF'
  8152. Test App: SSC
  8153. allow fail: ''
  8154. auto test: 'Yes'
  8155. category: Function
  8156. cmd set:
  8157. - ''
  8158. - - SSC SSC2 op -S -o 1
  8159. - ['R SSC2 C +MODE:OK']
  8160. - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
  8161. - ['R SSC2 C +JAP:CONNECTED']
  8162. - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
  8163. - ['R SSC1 C +IGMP:OK']
  8164. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  8165. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  8166. - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
  8167. - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
  8168. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  8169. - [R SSC1 SL <sock1>+1]
  8170. - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
  8171. - ['R SSC1 C +IGMP:OK']
  8172. comment: ''
  8173. execution time: 0.0
  8174. expected result: '1. succeed
  8175. 2. succeed
  8176. 3. succeed
  8177. 4. target1 recv multicast packet'
  8178. initial condition: STAAP2
  8179. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8180. on (autogen by STAM2)
  8181. level: Integration
  8182. module: TCPIP
  8183. steps: '1. target2 set to sta mode and join AP
  8184. 2. target1 join group and create UDP socket using multicast addr
  8185. 3. target2 create UDP socket
  8186. 4. target2 send to multicast addr'
  8187. sub module: IGMP
  8188. summary: station send multicast packets
  8189. test environment: SSC_T2_1
  8190. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  8191. PC has 1 WiFi NIC.
  8192. 2 SSC target connect with PC by UART.'
  8193. test point 1: basic function
  8194. test point 2: IGMP send/recv test
  8195. version: v1 (2016-8-15)
  8196. - CI ready: 'Yes'
  8197. ID: ^TCPIP_IGMP_0203
  8198. SDK: '8266_NonOS
  8199. 8266_RTOS
  8200. ESP32_IDF'
  8201. Test App: SSC
  8202. allow fail: ''
  8203. auto test: 'Yes'
  8204. category: Function
  8205. cmd set:
  8206. - ''
  8207. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  8208. - ['R SSC1 C +IGMP:OK']
  8209. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  8210. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8211. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  8212. - [R SOC_COM L OK]
  8213. - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
  8214. - [R SSC1 SL <sock1>+1]
  8215. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  8216. - ['R SSC1 C +IGMP:OK']
  8217. comment: ''
  8218. execution time: 0.0
  8219. expected result: '1. succeed
  8220. 2. succeed
  8221. 3. able to recv packet'
  8222. initial condition: APSTA2
  8223. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  8224. by APM2)
  8225. level: Integration
  8226. module: TCPIP
  8227. steps: '1. join group
  8228. 2. create UDP socket using multicast addr
  8229. 3. PC send UDP packet to multicast addr'
  8230. sub module: IGMP
  8231. summary: softAP IGMP recv packets
  8232. test environment: SSC_T1_1
  8233. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8234. PC has 1 WiFi NIC.
  8235. 1 SSC target connect with PC by UART.'
  8236. test point 1: basic function
  8237. test point 2: IGMP send/recv test
  8238. version: v1 (2016-8-15)
  8239. - CI ready: 'Yes'
  8240. ID: ^TCPIP_IGMP_0204
  8241. SDK: '8266_NonOS
  8242. 8266_RTOS
  8243. ESP32_IDF'
  8244. Test App: SSC
  8245. allow fail: ''
  8246. auto test: 'Yes'
  8247. category: Function
  8248. cmd set:
  8249. - ''
  8250. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  8251. - ['R SSC2 C +JAP:CONNECTED']
  8252. - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
  8253. - ['R SSC1 C +IGMP:OK']
  8254. - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
  8255. - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
  8256. - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
  8257. - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
  8258. - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
  8259. - [R SSC1 SL <sock1>+1]
  8260. - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
  8261. - ['R SSC1 C +IGMP:OK']
  8262. comment: ''
  8263. execution time: 0.0
  8264. expected result: '1. succeed
  8265. 2. succeed
  8266. 3. succeed
  8267. 4. target1 recv multicast packet'
  8268. initial condition: T2_2
  8269. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  8270. level: Integration
  8271. module: TCPIP
  8272. steps: '1. target2 join SoftAP
  8273. 2. target1 join group and create UDP socket using multicast addr
  8274. 3. target2 create UDP socket
  8275. 4. target2 send to multicast addr'
  8276. sub module: IGMP
  8277. summary: softAP send multicast packets
  8278. test environment: SSC_T2_1
  8279. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  8280. PC has 1 WiFi NIC.
  8281. 2 SSC target connect with PC by UART.'
  8282. test point 1: basic function
  8283. test point 2: IGMP send/recv test
  8284. version: v1 (2016-8-15)
  8285. - CI ready: 'Yes'
  8286. ID: ^TCPIP_IP_0101
  8287. SDK: '8266_NonOS
  8288. 8266_RTOS
  8289. ESP32_IDF'
  8290. Test App: SSC
  8291. allow fail: ''
  8292. auto test: 'Yes'
  8293. category: Function
  8294. cmd set:
  8295. - ''
  8296. - - SSC SSC1 dhcp -S -o 1
  8297. - ['R SSC1 C +DHCP:STA,OK']
  8298. - - SSC SSC1 ip -S -o 1 -i 192.168.123.123
  8299. - ['R SSC1 C +IP:ERROR']
  8300. - - SSC SSC1 dhcp -E -o 1
  8301. - ['R SSC1 C +DHCP:STA,OK']
  8302. - - SSC SSC1 ip -S -o 1 -i 192.168.123.123
  8303. - ['R SSC1 C +IP:OK']
  8304. - - SSC SSC1 ip -Q -o 1
  8305. - ['R SSC1 C +STAIP:192.168.123.123']
  8306. comment: ''
  8307. execution time: 0.0
  8308. expected result: '1.OK
  8309. 2.ERROR
  8310. 3.OK
  8311. 4.OK
  8312. 5.STAIP:192.168.123.123'
  8313. initial condition: STAAP1
  8314. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  8315. by STAM1)
  8316. level: Integration
  8317. module: TCPIP
  8318. steps: '1.target1 打开DHCP 1
  8319. 2.target1 设置sta ip 192.168.123.123
  8320. 4.target1 关闭DHCP 1
  8321. 5.target1 设置sta ip 192.168.123.123
  8322. 6.target1 查询 当前sta ip'
  8323. sub module: IP
  8324. summary: sta set and query static ip test
  8325. test environment: SSC_T1_1
  8326. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8327. PC has 1 WiFi NIC.
  8328. 1 SSC target connect with PC by UART.'
  8329. test point 1: basic function
  8330. test point 2: set and query static IP
  8331. version: v1 (2016-8-15)
  8332. - CI ready: 'Yes'
  8333. ID: ^TCPIP_IP_0102
  8334. SDK: '8266_NonOS
  8335. 8266_RTOS
  8336. ESP32_IDF'
  8337. Test App: SSC
  8338. allow fail: ''
  8339. auto test: 'Yes'
  8340. category: Function
  8341. cmd set:
  8342. - ''
  8343. - - SSC SSC1 dhcp -S -o 2
  8344. - ['R SSC1 C +DHCP:AP,OK']
  8345. - - SSC SSC1 ip -S -o 2 -i 192.168.123.123
  8346. - ['R SSC1 C +IP:ERROR']
  8347. - - SSC SSC1 dhcp -E -o 2
  8348. - ['R SSC1 C +DHCP:AP,OK']
  8349. - - SSC SSC1 ip -S -o 2 -i 192.168.123.123
  8350. - ['R SSC1 C +IP:OK']
  8351. - - SSC SSC1 ip -Q -o 2
  8352. - ['R SSC1 C +APIP:192.168.123.123']
  8353. - - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
  8354. - ['R SSC1 C +IP:OK']
  8355. comment: ''
  8356. execution time: 0.0
  8357. expected result: '1.OK
  8358. 2.ERROR
  8359. 3.OK
  8360. 4.OK
  8361. 5.APIP:192.168.123.123
  8362. 6.OK'
  8363. initial condition: APSTA1
  8364. initial condition description (auto): testing ap on sta + ap mode (autogen by APM1)
  8365. level: Integration
  8366. module: TCPIP
  8367. steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n4.target1 关闭DHCP\
  8368. \ 2\n5.target1 设置softAP ip 192.168.123.123\n6.target1 查询 当前sta ip \n7.target1\
  8369. \ 设置softAP ip 为target_ap_ip"
  8370. sub module: IP
  8371. summary: ap set and query static ip test
  8372. test environment: SSC_T1_1
  8373. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8374. PC has 1 WiFi NIC.
  8375. 1 SSC target connect with PC by UART.'
  8376. test point 1: basic function
  8377. test point 2: set and query static IP
  8378. version: v1 (2016-8-15)
  8379. - CI ready: 'Yes'
  8380. ID: ^TCPIP_TCP_0101
  8381. SDK: '8266_NonOS
  8382. 8266_RTOS
  8383. ESP32_IDF'
  8384. Test App: SSC
  8385. allow fail: ''
  8386. auto test: 'Yes'
  8387. category: Function
  8388. cmd set:
  8389. - ''
  8390. - - SOC SOC1 LISTEN <test_tcp_port1>
  8391. - [SOCR SOC_COM L OK]
  8392. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  8393. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8394. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  8395. - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
  8396. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  8397. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  8398. - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
  8399. - ['P SSC1 RE CONNECT:\d+,ERROR']
  8400. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
  8401. - ['P SSC1 RE CONNECT:\d+,ERROR']
  8402. comment: ''
  8403. execution time: 0.0
  8404. expected result: '1.OK
  8405. 2.OK
  8406. 3.OK; PC TCP server accept 成功
  8407. 4.OK
  8408. 5.ERROR
  8409. 6.ERROR'
  8410. initial condition: STAAP2
  8411. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8412. on (autogen by STAM2)
  8413. level: Integration
  8414. module: TCPIP
  8415. steps: '1.PC上建立TCP 监听 test_tcp_port1
  8416. 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  8417. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  8418. 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  8419. 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
  8420. 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
  8421. sub module: TCP
  8422. summary: STA mode, connect test. use different ip, port
  8423. test environment: SSC_T1_1
  8424. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8425. PC has 1 WiFi NIC.
  8426. 1 SSC target connect with PC by UART.'
  8427. test point 1: basic function
  8428. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8429. version: v1 (2016-8-15)
  8430. - CI ready: 'Yes'
  8431. ID: ^TCPIP_TCP_0102
  8432. SDK: '8266_NonOS
  8433. 8266_RTOS
  8434. ESP32_IDF'
  8435. Test App: SSC
  8436. allow fail: ''
  8437. auto test: 'Yes'
  8438. category: Function
  8439. cmd set:
  8440. - ''
  8441. - - SSC SSC1 soc -B -t TCP -p <random_port>
  8442. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8443. - - SSC SSC1 soc -L -s <sock1>
  8444. - ['R SSC1 RE LISTEN:\d+,OK']
  8445. - - SOC SOC1 CONNECT <random_port> <target_ip>
  8446. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
  8447. - - SOC SOC1 CONNECT <test_tcp_port2> <target_ip>
  8448. - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
  8449. comment: ''
  8450. execution time: 0.0
  8451. expected result: '1.OK
  8452. 2.OK
  8453. 3.PC TCP client accept
  8454. 4.error'
  8455. initial condition: STAAP2
  8456. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8457. on (autogen by STAM2)
  8458. level: Integration
  8459. module: TCPIP
  8460. steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
  8461. 2.target1上使用步骤1创建的socket,创建TCP 监听
  8462. 3.PC TCP 连接到target1 <random_port>,<target_ip>
  8463. 4.PC tcp 连接到不存在的port ,<target_ip>'
  8464. sub module: TCP
  8465. summary: STA mode, server listen test. use different kinds of port
  8466. test environment: SSC_T1_1
  8467. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8468. PC has 1 WiFi NIC.
  8469. 1 SSC target connect with PC by UART.'
  8470. test point 1: basic function
  8471. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8472. version: v1 (2016-8-15)
  8473. - CI ready: 'Yes'
  8474. ID: ^TCPIP_TCP_0103
  8475. SDK: '8266_NonOS
  8476. 8266_RTOS
  8477. ESP32_IDF'
  8478. Test App: SSC
  8479. allow fail: ''
  8480. auto test: 'Yes'
  8481. category: Function
  8482. cmd set:
  8483. - ''
  8484. - - SOC SOC1 LISTEN <test_tcp_port1>
  8485. - [R SOC_COM L OK]
  8486. - - SSC SSC1 soc -B -t TCP
  8487. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8488. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  8489. - ['R SSC1 RE CONNECT:\d+,OK']
  8490. - - SOC SOC1 ACCEPT SOC2
  8491. - [R SOC_COM L OK]
  8492. - - SOC SOC2 SEND 5
  8493. - [R SSC1 SL <sock1>+5]
  8494. - - SSC SSC1 soc -S -s <sock1> -l 5
  8495. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
  8496. - - SOC SOC2 SEND 146000
  8497. - [R SSC1 SL <sock1>+146000]
  8498. - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
  8499. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
  8500. comment: ''
  8501. execution time: 0.0
  8502. expected result: '1.OK
  8503. 2.OK
  8504. 3.OK,pc上回accept
  8505. 4.OK
  8506. 5.target收到5 byte
  8507. 6.PC收到5 byte
  8508. 7.target收到 146000 byte
  8509. 8.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数'
  8510. initial condition: STAAP2
  8511. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8512. on (autogen by STAM2)
  8513. level: Integration
  8514. module: TCPIP
  8515. steps: '1. PC上建立TCP 监听 test_tcp_port1
  8516. 2.target1上创建TCP socket
  8517. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  8518. 4.PC与target1 创建好TCP 连接,有ACCEPT
  8519. 5.PC send 5 bytes to 8266
  8520. 6.8266 send 5 bytes to PC
  8521. 7. PC send 100 * 1460 data to 8266,
  8522. 8.8266 send 100 * 1460 to PC.'
  8523. sub module: TCP
  8524. summary: STA mode, send/recv basic test
  8525. test environment: SSC_T1_1
  8526. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8527. PC has 1 WiFi NIC.
  8528. 1 SSC target connect with PC by UART.'
  8529. test point 1: basic function
  8530. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8531. version: v1 (2016-8-15)
  8532. - CI ready: 'Yes'
  8533. ID: ^TCPIP_TCP_0104
  8534. SDK: '8266_NonOS
  8535. 8266_RTOS
  8536. ESP32_IDF'
  8537. Test App: SSC
  8538. allow fail: ''
  8539. auto test: 'Yes'
  8540. category: Function
  8541. cmd set:
  8542. - ''
  8543. - - SOC SOC1 LISTEN <test_tcp_port1>
  8544. - [R SOC_COM L OK]
  8545. - - SSC SSC1 soc -B -t TCP
  8546. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8547. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  8548. - ['R SSC1 RE CONNECT:\d+,OK']
  8549. - - SSC SSC1 soc -D -s <sock1> -h B
  8550. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  8551. - - SSC SSC1 soc -B -t TCP
  8552. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  8553. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  8554. - ['R SSC1 RE CONNECT:\d+,OK']
  8555. - - SSC SSC1 soc -D -s <sock2> -h W
  8556. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  8557. - - SSC SSC1 soc -B -t TCP
  8558. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  8559. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  8560. - ['R SSC1 RE CONNECT:\d+,OK']
  8561. - - SSC SSC1 soc -D -s <sock3> -h R
  8562. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  8563. comment: ''
  8564. execution time: 0.0
  8565. expected result: '1.OK
  8566. 2.OK
  8567. 3.OK,pc tcp server accept OK
  8568. 4.OK
  8569. 5.OK
  8570. 6.OK,pc tcp server accept OK
  8571. 7.OK
  8572. 8.OK
  8573. 9.OK,pc tcp server accept OK
  8574. 10.OK'
  8575. initial condition: STAAP2
  8576. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8577. on (autogen by STAM2)
  8578. level: Integration
  8579. module: TCPIP
  8580. steps: '1. PC上建立TCP 监听 test_tcp_port1
  8581. 2.target1上创建TCP socket
  8582. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  8583. 4.target1 shutdown socket1 B
  8584. 5.target1上创建TCP socket
  8585. 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  8586. 7.target1 shutdown socket2 W
  8587. 8.target1上创建TCP socket
  8588. 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  8589. 10.target1 shutdown socket3 R'
  8590. sub module: TCP
  8591. summary: STA mode, shutdown basic test
  8592. test environment: SSC_T1_1
  8593. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8594. PC has 1 WiFi NIC.
  8595. 1 SSC target connect with PC by UART.'
  8596. test point 1: basic function
  8597. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8598. version: v1 (2016-8-15)
  8599. - CI ready: 'Yes'
  8600. ID: ^TCPIP_TCP_0105
  8601. SDK: '8266_NonOS
  8602. 8266_RTOS
  8603. ESP32_IDF'
  8604. Test App: SSC
  8605. allow fail: ''
  8606. auto test: 'Yes'
  8607. category: Function
  8608. cmd set:
  8609. - ''
  8610. - - SOC SOC1 LISTEN <test_tcp_port1>
  8611. - [R SOC_COM L OK]
  8612. - - SSC SSC1 soc -B -t TCP
  8613. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8614. - - SSC SSC1 soc -T -s <sock1>
  8615. - ['R SSC1 RE CLOSE:\d+,OK']
  8616. - - SSC SSC1 soc -B -t TCP -p <random_port>
  8617. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8618. - - SSC SSC1 soc -L -s <sock1>
  8619. - ['R SSC1 RE LISTEN:\d+,OK']
  8620. - - SOC SOC2 CONNECT <random_port> <target_ip>
  8621. - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
  8622. - - SSC SSC1 soc -T -s <sock2>
  8623. - ['R SSC1 RE CLOSE:\d+,OK']
  8624. - - SSC SSC1 soc -T -s <sock1>
  8625. - ['R SSC1 RE CLOSE:\d+,OK']
  8626. - - SSC SSC1 soc -B -t TCP
  8627. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8628. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  8629. - ['R SSC1 RE CONNECT:\d+,OK']
  8630. - - SSC SSC1 soc -T -s <sock1>
  8631. - ['R SSC1 RE CLOSE:\d+,OK']
  8632. - - SSC SSC1 soc -B -t TCP
  8633. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8634. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  8635. - ['R SSC1 RE CONNECT:\d+,OK']
  8636. - - SSC SSC1 soc -D -s <sock1>
  8637. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  8638. - - SSC SSC1 soc -T -s <sock1>
  8639. - ['R SSC1 RE CLOSE:\d+,OK']
  8640. comment: ''
  8641. execution time: 0.0
  8642. expected result: '1.OK
  8643. 2.OK
  8644. 3.OK
  8645. 4.OK
  8646. 5.OK
  8647. 6.OK
  8648. 7.target1关闭socket1
  8649. 8.target1关闭socket2
  8650. 9.OK
  8651. 10.OK,pc tcp server accept成功
  8652. 11.target1关闭socket1
  8653. 12.OK
  8654. 13.OK,pc tcp server accept成功
  8655. 14.OK
  8656. 15.target1关闭socket1'
  8657. initial condition: STAAP2
  8658. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8659. on (autogen by STAM2)
  8660. level: Integration
  8661. module: TCPIP
  8662. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
  8663. 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
  8664. \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
  8665. 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
  8666. 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
  8667. \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
  8668. sub module: TCP
  8669. summary: STA mode, close for different types of TCP sockets test
  8670. test environment: SSC_T1_1
  8671. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8672. PC has 1 WiFi NIC.
  8673. 1 SSC target connect with PC by UART.'
  8674. test point 1: basic function
  8675. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8676. version: v1 (2016-8-15)
  8677. - CI ready: 'Yes'
  8678. ID: ^TCPIP_TCP_0106
  8679. SDK: '8266_NonOS
  8680. 8266_RTOS
  8681. ESP32_IDF'
  8682. Test App: SSC
  8683. allow fail: ''
  8684. auto test: 'Yes'
  8685. category: Function
  8686. cmd set:
  8687. - ''
  8688. - - SOC SOC1 LISTEN <test_tcp_port1>
  8689. - [R SOC_COM L OK]
  8690. - - SSC SSC1 soc -B -t TCP
  8691. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8692. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  8693. - ['R SSC1 RE CONNECT:\d+,OK']
  8694. - - SSC SSC1 soc -B -t TCP
  8695. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  8696. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  8697. - ['R SSC1 RE CONNECT:\d+,OK']
  8698. - - SSC SSC1 soc -B -t TCP
  8699. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  8700. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  8701. - ['R SSC1 RE CONNECT:\d+,OK']
  8702. - - SSC SSC1 soc -B -t TCP
  8703. - ['R SSC1 A <sock4>:BIND:(\d+),OK']
  8704. - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
  8705. - ['R SSC1 RE CONNECT:\d+,OK']
  8706. - - SSC SSC1 soc -B -t TCP
  8707. - ['R SSC1 A <sock5>:BIND:(\d+),OK']
  8708. - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
  8709. - ['R SSC1 RE CONNECT:\d+,OK']
  8710. comment: ''
  8711. execution time: 0.0
  8712. expected result: '1.OK
  8713. 2.OK
  8714. 3.OK,pc tcp server accept成功
  8715. 4 OK
  8716. 5.OK,pc tcp server accept成功
  8717. 6.OK
  8718. 7.OK,pc tcp server accept成功
  8719. 8 OK
  8720. 9.OK,pc tcp server accept成功
  8721. 10.OK
  8722. 11.OK,pc tcp server accept成功'
  8723. initial condition: STAAP2
  8724. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8725. on (autogen by STAM2)
  8726. level: Integration
  8727. module: TCPIP
  8728. steps: '1.PC上建立TCP 监听 test_tcp_port1
  8729. 2.target1上创建TCP socket1
  8730. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  8731. 4.target1上创建TCP socket2
  8732. 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  8733. 6.target1上创建TCP socket3
  8734. 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  8735. 8.target1上创建TCP socket4
  8736. 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  8737. 10.target1上创建TCP socket5
  8738. 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
  8739. sub module: TCP
  8740. summary: STA mode, create max TCP sockets test
  8741. test environment: SSC_T1_1
  8742. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8743. PC has 1 WiFi NIC.
  8744. 1 SSC target connect with PC by UART.'
  8745. test point 1: basic function
  8746. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8747. version: v1 (2016-8-15)
  8748. - CI ready: 'Yes'
  8749. ID: ^TCPIP_TCP_0107
  8750. SDK: '8266_NonOS
  8751. 8266_RTOS
  8752. ESP32_IDF'
  8753. Test App: SSC
  8754. allow fail: ''
  8755. auto test: 'Yes'
  8756. category: Function
  8757. cmd set:
  8758. - ''
  8759. - - SSC SSC1 soc -B -t TCP -p <random_port>
  8760. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8761. - - SSC SSC1 soc -L -s <sock1>
  8762. - ['R SSC1 RE LISTEN:\d+,OK']
  8763. - - SOC SOC2 CONNECT <random_port> <target_ip>
  8764. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  8765. - - SOC SOC3 CONNECT <random_port> <target_ip>
  8766. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  8767. - - SOC SOC4 CONNECT <random_port> <target_ip>
  8768. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  8769. - - SOC SOC5 CONNECT <random_port> <target_ip>
  8770. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  8771. - - SOC SOC6 CONNECT <random_port> <target_ip>
  8772. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  8773. comment: ''
  8774. execution time: 0.0
  8775. expected result: '1.+BIND:0,OK,0.0.0.0
  8776. 2.OK
  8777. 3.OK,pc tcp server accept成功
  8778. 4.OK,pc tcp server accept成功
  8779. 5.OK,pc tcp server accept成功
  8780. 6.OK,pc tcp server accept成功
  8781. 7.OK,pc tcp server accept成功'
  8782. initial condition: STAAP2
  8783. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  8784. on (autogen by STAM2)
  8785. level: Integration
  8786. module: TCPIP
  8787. steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
  8788. \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
  8789. \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
  8790. \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6"
  8791. sub module: TCP
  8792. summary: STA mode, accept max TCP client by server test
  8793. test environment: SSC_T1_1
  8794. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8795. PC has 1 WiFi NIC.
  8796. 1 SSC target connect with PC by UART.'
  8797. test point 1: basic function
  8798. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8799. version: v1 (2016-8-15)
  8800. - CI ready: 'Yes'
  8801. ID: ^TCPIP_TCP_0110
  8802. SDK: '8266_NonOS
  8803. 8266_RTOS
  8804. ESP32_IDF'
  8805. Test App: SSC
  8806. allow fail: ''
  8807. auto test: 'Yes'
  8808. category: Function
  8809. cmd set:
  8810. - ''
  8811. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  8812. - [SOCR SOC_COM L OK]
  8813. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  8814. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8815. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  8816. - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
  8817. - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
  8818. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  8819. - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
  8820. - ['P SSC1 RE CONNECT:\d+,ERROR']
  8821. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port2>
  8822. - ['P SSC1 RE CONNECT:\d+,ERROR']
  8823. comment: ''
  8824. execution time: 0.0
  8825. expected result: '1.OK
  8826. 2.OK
  8827. 3.OK; PC TCP server accept 成功
  8828. 4.OK
  8829. 5.ERROR
  8830. 6.ERROR'
  8831. initial condition: APSTA2
  8832. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  8833. by APM2)
  8834. level: Integration
  8835. module: TCPIP
  8836. steps: '1.PC上建立TCP 监听 test_tcp_port1
  8837. 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  8838. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  8839. 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
  8840. 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
  8841. 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
  8842. sub module: TCP
  8843. summary: AP mode, connect test. use different ip, port
  8844. test environment: SSC_T1_1
  8845. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8846. PC has 1 WiFi NIC.
  8847. 1 SSC target connect with PC by UART.'
  8848. test point 1: basic function
  8849. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8850. version: v1 (2016-8-15)
  8851. - CI ready: 'Yes'
  8852. ID: ^TCPIP_TCP_0111
  8853. SDK: '8266_NonOS
  8854. 8266_RTOS
  8855. ESP32_IDF'
  8856. Test App: SSC
  8857. allow fail: ''
  8858. auto test: 'Yes'
  8859. category: Function
  8860. cmd set:
  8861. - ''
  8862. - - SSC SSC1 soc -B -t TCP -p <random_port>
  8863. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8864. - - SSC SSC1 soc -L -s <sock1>
  8865. - ['R SSC1 RE LISTEN:\d+,OK']
  8866. - - SOC SOC1 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  8867. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
  8868. - - SOC SOC1 CONNECT <test_tcp_port2> <target_ap_ip> 0 <pc_ip_wifi>
  8869. - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
  8870. comment: ''
  8871. execution time: 0.0
  8872. expected result: '1.OK
  8873. 2.OK
  8874. 3.PC TCP client accept
  8875. 4.error'
  8876. initial condition: APSTA2
  8877. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  8878. by APM2)
  8879. level: Integration
  8880. module: TCPIP
  8881. steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
  8882. 2.target1上使用步骤1创建的socket,创建TCP 监听
  8883. 3.PC TCP 连接到target1 <random_port>,<target_ip>
  8884. 4.PC tcp 连接到不存在的port ,<target_ip>'
  8885. sub module: TCP
  8886. summary: AP mode, server listen test. use different kinds of port
  8887. test environment: SSC_T1_1
  8888. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8889. PC has 1 WiFi NIC.
  8890. 1 SSC target connect with PC by UART.'
  8891. test point 1: basic function
  8892. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8893. version: v1 (2016-8-15)
  8894. - CI ready: 'Yes'
  8895. ID: ^TCPIP_TCP_0112
  8896. SDK: '8266_NonOS
  8897. 8266_RTOS
  8898. ESP32_IDF'
  8899. Test App: SSC
  8900. allow fail: ''
  8901. auto test: 'Yes'
  8902. category: Function
  8903. cmd set:
  8904. - ''
  8905. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  8906. - [R SOC_COM L OK]
  8907. - - SSC SSC1 soc -B -t TCP
  8908. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8909. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  8910. - ['R SSC1 RE CONNECT:\d+,OK']
  8911. - - SOC SOC1 ACCEPT SOC2
  8912. - [R SOC_COM L OK]
  8913. - - SOC SOC2 SEND 5
  8914. - [R SSC1 SL <sock1>+5]
  8915. - - SSC SSC1 soc -S -s <sock1> -l 5
  8916. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
  8917. - - SOC SOC2 SEND 146000
  8918. - [R SSC1 SL <sock1>+146000]
  8919. - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
  8920. - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
  8921. comment: ''
  8922. execution time: 0.0
  8923. expected result: '1.OK
  8924. 2.OK
  8925. 3.OK,pc tcp server accept成功
  8926. 4.OK
  8927. 5.target收到5byte数据
  8928. 6.PC收到5byte数据
  8929. 7.target收到146000 byte数据
  8930. 8.OK,PC 收到146000 byte数据'
  8931. initial condition: APSTA2
  8932. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  8933. by APM2)
  8934. level: Integration
  8935. module: TCPIP
  8936. steps: '1. PC上建立TCP 监听 test_tcp_port1
  8937. 2.target1上创建TCP socket
  8938. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  8939. 4.PC与target1 创建好TCP 连接,有ACCEPT
  8940. 5.PC send 5 bytes to 8266
  8941. 6.8266 send 5 bytes to PC
  8942. 7. PC send 100 * 1460 data to 8266,
  8943. 8.8266 send 100 * 1460 to PC.'
  8944. sub module: TCP
  8945. summary: AP mode, send/recv basic test
  8946. test environment: SSC_T1_1
  8947. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  8948. PC has 1 WiFi NIC.
  8949. 1 SSC target connect with PC by UART.'
  8950. test point 1: basic function
  8951. test point 2: use TCP SAP (socket/espconn API) with different parameter
  8952. version: v1 (2016-8-15)
  8953. - CI ready: 'Yes'
  8954. ID: ^TCPIP_TCP_0113
  8955. SDK: '8266_NonOS
  8956. 8266_RTOS
  8957. ESP32_IDF'
  8958. Test App: SSC
  8959. allow fail: ''
  8960. auto test: 'Yes'
  8961. category: Function
  8962. cmd set:
  8963. - ''
  8964. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  8965. - [R SOC_COM L OK]
  8966. - - SSC SSC1 soc -B -t TCP
  8967. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  8968. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  8969. - ['R SSC1 RE CONNECT:\d+,OK']
  8970. - - SSC SSC1 soc -D -s <sock1> -h B
  8971. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  8972. - - SSC SSC1 soc -B -t TCP
  8973. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  8974. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  8975. - ['R SSC1 RE CONNECT:\d+,OK']
  8976. - - SSC SSC1 soc -D -s <sock2> -h W
  8977. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  8978. - - SSC SSC1 soc -B -t TCP
  8979. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  8980. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  8981. - ['R SSC1 RE CONNECT:\d+,OK']
  8982. - - SSC SSC1 soc -D -s <sock3> -h R
  8983. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  8984. comment: ''
  8985. execution time: 0.0
  8986. expected result: '1.OK
  8987. 2.OK
  8988. 3.OK,pc tcp server accept成功
  8989. 4.OK
  8990. 5.OK
  8991. 6.OK,pc tcp server accept成功
  8992. 7.OK
  8993. 8.OK
  8994. 9.OK,pc tcp server accept成功
  8995. 10.OK'
  8996. initial condition: APSTA2
  8997. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  8998. by APM2)
  8999. level: Integration
  9000. module: TCPIP
  9001. steps: '1. PC上建立TCP 监听 test_tcp_port1
  9002. 2.target1上创建TCP socket
  9003. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  9004. 4.target1 shutdown socket1 B
  9005. 5.target1上创建TCP socket
  9006. 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  9007. 7.target1 shutdown socket2 W
  9008. 8.target1上创建TCP socket
  9009. 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  9010. 10.target1 shutdown socket3 R'
  9011. sub module: TCP
  9012. summary: AP mode, shutdown basic test
  9013. test environment: SSC_T1_1
  9014. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9015. PC has 1 WiFi NIC.
  9016. 1 SSC target connect with PC by UART.'
  9017. test point 1: basic function
  9018. test point 2: use TCP SAP (socket/espconn API) with different parameter
  9019. version: v1 (2016-8-15)
  9020. - CI ready: 'Yes'
  9021. ID: ^TCPIP_TCP_0114
  9022. SDK: '8266_NonOS
  9023. 8266_RTOS
  9024. ESP32_IDF'
  9025. Test App: SSC
  9026. allow fail: ''
  9027. auto test: 'Yes'
  9028. category: Function
  9029. cmd set:
  9030. - ''
  9031. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  9032. - [R SOC_COM L OK]
  9033. - - SSC SSC1 soc -B -t TCP
  9034. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9035. - - SSC SSC1 soc -T -s <sock1>
  9036. - ['R SSC1 RE CLOSE:\d+,OK']
  9037. - - SSC SSC1 soc -B -t TCP -p <random_port>
  9038. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9039. - - SSC SSC1 soc -L -s <sock1>
  9040. - ['R SSC1 RE LISTEN:\d+,OK']
  9041. - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  9042. - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
  9043. - - SSC SSC1 soc -T -s <sock2>
  9044. - ['R SSC1 RE CLOSE:\d+,OK']
  9045. - - SSC SSC1 soc -T -s <sock1>
  9046. - ['R SSC1 RE CLOSE:\d+,OK']
  9047. - - SSC SSC1 soc -B -t TCP
  9048. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9049. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  9050. - ['R SSC1 RE CONNECT:\d+,OK']
  9051. - - SSC SSC1 soc -T -s <sock1>
  9052. - ['R SSC1 RE CLOSE:\d+,OK']
  9053. - - SSC SSC1 soc -B -t TCP
  9054. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9055. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  9056. - ['R SSC1 RE CONNECT:\d+,OK']
  9057. - - SSC SSC1 soc -D -s <sock1>
  9058. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  9059. - - SSC SSC1 soc -T -s <sock1>
  9060. - ['R SSC1 RE CLOSE:\d+,OK']
  9061. comment: ''
  9062. execution time: 0.0
  9063. expected result: '1.OK
  9064. 2.OK
  9065. 3.OK
  9066. 4.OK
  9067. 5.OK
  9068. 6.OK,target1上accept 成功
  9069. 7.target1关闭socket1
  9070. 8.target1关闭socket2
  9071. 9.OK
  9072. 10.OK,pc tcp server accept成功
  9073. 11.target1关闭socket1
  9074. 12.OK
  9075. 13.OK,pc tcp server accept成功
  9076. 14.OK
  9077. 15.target1关闭socket1'
  9078. initial condition: APSTA2
  9079. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  9080. by APM2)
  9081. level: Integration
  9082. module: TCPIP
  9083. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
  9084. 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
  9085. \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
  9086. 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
  9087. 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
  9088. \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
  9089. sub module: TCP
  9090. summary: AP mode, close for different types of TCP sockets test
  9091. test environment: SSC_T1_1
  9092. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9093. PC has 1 WiFi NIC.
  9094. 1 SSC target connect with PC by UART.'
  9095. test point 1: basic function
  9096. test point 2: use TCP SAP (socket/espconn API) with different parameter
  9097. version: v1 (2016-8-15)
  9098. - CI ready: 'Yes'
  9099. ID: ^TCPIP_TCP_0115
  9100. SDK: '8266_NonOS
  9101. 8266_RTOS
  9102. ESP32_IDF'
  9103. Test App: SSC
  9104. allow fail: ''
  9105. auto test: 'Yes'
  9106. category: Function
  9107. cmd set:
  9108. - ''
  9109. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  9110. - [R SOC_COM L OK]
  9111. - - SSC SSC1 soc -B -t TCP
  9112. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9113. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  9114. - ['R SSC1 RE CONNECT:\d+,OK']
  9115. - - SSC SSC1 soc -B -t TCP
  9116. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9117. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  9118. - ['R SSC1 RE CONNECT:\d+,OK']
  9119. - - SSC SSC1 soc -B -t TCP
  9120. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  9121. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  9122. - ['R SSC1 RE CONNECT:\d+,OK']
  9123. - - SSC SSC1 soc -B -t TCP
  9124. - ['R SSC1 A <sock4>:BIND:(\d+),OK']
  9125. - - SSC SSC1 soc -C -s <sock4> -i <pc_ip_wifi> -p <test_tcp_port1>
  9126. - ['R SSC1 RE CONNECT:\d+,OK']
  9127. - - SSC SSC1 soc -B -t TCP
  9128. - ['R SSC1 A <sock5>:BIND:(\d+),OK']
  9129. - - SSC SSC1 soc -C -s <sock5> -i <pc_ip_wifi> -p <test_tcp_port1>
  9130. - ['R SSC1 RE CONNECT:\d+,OK']
  9131. comment: ''
  9132. execution time: 0.0
  9133. expected result: '1.OK
  9134. 2.OK
  9135. 3.OK,pc tcp server accept成功
  9136. 4 OK
  9137. 5.OK,pc tcp server accept成功
  9138. 6.OK
  9139. 7.OK,pc tcp server accept成功
  9140. 8 OK
  9141. 9.OK,pc tcp server accept成功
  9142. 10.OK
  9143. 11.OK,pc tcp server accept成功'
  9144. initial condition: APSTA2
  9145. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  9146. by APM2)
  9147. level: Integration
  9148. module: TCPIP
  9149. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9150. 2.target1上创建TCP socket1
  9151. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  9152. 4.target1上创建TCP socket2
  9153. 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  9154. 6.target1上创建TCP socket3
  9155. 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  9156. 8.target1上创建TCP socket4
  9157. 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
  9158. 10.target1上创建TCP socket5
  9159. 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
  9160. sub module: TCP
  9161. summary: AP mode, create max TCP sockets test
  9162. test environment: SSC_T1_1
  9163. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9164. PC has 1 WiFi NIC.
  9165. 1 SSC target connect with PC by UART.'
  9166. test point 1: basic function
  9167. test point 2: use TCP SAP (socket/espconn API) with different parameter
  9168. version: v1 (2016-8-15)
  9169. - CI ready: 'Yes'
  9170. ID: ^TCPIP_TCP_0116
  9171. SDK: '8266_NonOS
  9172. 8266_RTOS
  9173. ESP32_IDF'
  9174. Test App: SSC
  9175. allow fail: ''
  9176. auto test: 'Yes'
  9177. category: Function
  9178. cmd set:
  9179. - ''
  9180. - - SSC SSC1 soc -B -t TCP -p <random_port>
  9181. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9182. - - SSC SSC1 soc -L -s <sock1>
  9183. - ['R SSC1 RE LISTEN:\d+,OK']
  9184. - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  9185. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  9186. - - SOC SOC3 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  9187. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  9188. - - SOC SOC4 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  9189. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  9190. - - SOC SOC5 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  9191. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  9192. - - SOC SOC6 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  9193. - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
  9194. comment: ''
  9195. execution time: 0.0
  9196. expected result: '1.+BIND:0,OK,0.0.0.0
  9197. 2.OK
  9198. 3.OK,pc tcp server accept成功
  9199. 4.OK,pc tcp server accept成功
  9200. 5.OK,pc tcp server accept成功
  9201. 6.OK,pc tcp server accept成功
  9202. 7.OK,pc tcp server accept成功'
  9203. initial condition: APSTA2
  9204. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  9205. by APM2)
  9206. level: Integration
  9207. module: TCPIP
  9208. steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
  9209. \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
  9210. \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
  9211. \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6"
  9212. sub module: TCP
  9213. summary: AP mode, accept max TCP client by server test
  9214. test environment: SSC_T1_1
  9215. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9216. PC has 1 WiFi NIC.
  9217. 1 SSC target connect with PC by UART.'
  9218. test point 1: basic function
  9219. test point 2: use TCP SAP (socket/espconn API) with different parameter
  9220. version: v1 (2016-8-15)
  9221. - CI ready: 'Yes'
  9222. ID: ^TCPIP_TCP_0201
  9223. SDK: '8266_NonOS
  9224. 8266_RTOS
  9225. ESP32_IDF'
  9226. Test App: SSC
  9227. allow fail: ''
  9228. auto test: 'Yes'
  9229. category: Function
  9230. cmd set:
  9231. - ''
  9232. - - SOC SOC1 LISTEN <test_tcp_port1>
  9233. - [SOCR SOC_COM L OK]
  9234. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
  9235. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9236. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9237. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9238. - - SSC SSC1 soc -B -t TCP
  9239. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9240. - - SSC SSC1 soc -L -s <sock2>
  9241. - ['R SSC1 RE LISTEN:\d+,OK']
  9242. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  9243. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9244. - - SSC SSC1 soc -B -t TCP
  9245. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  9246. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  9247. - ['P SSC1 RE CONNECT:\d+,OK']
  9248. - - SSC SSC1 soc -D -s <sock3> -h B
  9249. - ['P SSC1 RE SHUTDOWN:\d+,OK']
  9250. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
  9251. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9252. - - SSC SSC1 soc -T
  9253. - [R SSC1 C +CLOSEALL]
  9254. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9255. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9256. comment: ''
  9257. execution time: 0.0
  9258. expected result: '1.ok
  9259. 2.OK
  9260. 3.ERROR
  9261. 4.OK
  9262. 5.OK
  9263. 6.ERROR
  9264. 7.OK
  9265. 8.OK
  9266. 9.OK
  9267. 10.OK
  9268. 11.OK
  9269. 12.ERROR'
  9270. initial condition: STAAP2
  9271. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9272. on (autogen by STAM2)
  9273. level: Integration
  9274. module: TCPIP
  9275. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9276. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  9277. 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
  9278. 4.target1上创建TCP socket
  9279. 5.target1上使用步骤4创建的socket,创建TCP 监听
  9280. 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  9281. 7.target1上创建TCP socket
  9282. 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  9283. 9.target1上关闭步骤7创建的socket
  9284. 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  9285. 11.target1上关闭所有创建的socket
  9286. 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
  9287. sub module: TCP
  9288. summary: STA mode, connect test. use socket in state that can't connect
  9289. test environment: SSC_T1_1
  9290. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9291. PC has 1 WiFi NIC.
  9292. 1 SSC target connect with PC by UART.'
  9293. test point 1: basic function
  9294. test point 2: use TCP SAP (socket/espconn API) in different state
  9295. version: v1 (2016-8-15)
  9296. - CI ready: 'Yes'
  9297. ID: ^TCPIP_TCP_0202
  9298. SDK: '8266_NonOS
  9299. 8266_RTOS
  9300. ESP32_IDF'
  9301. Test App: SSC
  9302. allow fail: ''
  9303. auto test: 'Yes'
  9304. category: Function
  9305. cmd set:
  9306. - ''
  9307. - - SOC SOC1 LISTEN <test_tcp_port1>
  9308. - [R SOC_COM L OK]
  9309. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  9310. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9311. - - SSC SSC1 soc -L -s <sock1>
  9312. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9313. - - SSC SSC1 soc -B -t TCP
  9314. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9315. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  9316. - ['R SSC1 RE CONNECT:\d+,OK']
  9317. - - SSC SSC1 soc -L -s <sock2>
  9318. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9319. - - SSC SSC1 soc -D -s <sock2>
  9320. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  9321. - - SSC SSC1 soc -L -s <sock2>
  9322. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9323. - - SSC SSC1 soc -L -s 1000
  9324. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9325. comment: ''
  9326. execution time: 0.0
  9327. expected result: '1.OK
  9328. 2.OK
  9329. 3.ERROR
  9330. 4.OK
  9331. 5.OK
  9332. 6.ERROR
  9333. 7.OK
  9334. 8.ERROR
  9335. 9.ERROR'
  9336. initial condition: STAAP2
  9337. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9338. on (autogen by STAM2)
  9339. level: Integration
  9340. module: TCPIP
  9341. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9342. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  9343. 3.target1上使用步骤2创建的socket,去建立TCP 监听
  9344. 4.target1上创建TCP socket
  9345. 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  9346. 6.target1上使用步骤4创建的socket,创建TCP 监听
  9347. 7.target1上shutdown 步骤4的socket
  9348. 8.target1上使用步骤4创建的socket,创建TCP 监听
  9349. 9.target1上使用不存在socket,创建TCP 监听'
  9350. sub module: TCP
  9351. summary: STA mode, server listen test. use socket in state that can't listen
  9352. test environment: SSC_T1_1
  9353. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9354. PC has 1 WiFi NIC.
  9355. 1 SSC target connect with PC by UART.'
  9356. test point 1: basic function
  9357. test point 2: use TCP SAP (socket/espconn API) in different state
  9358. version: v1 (2016-8-15)
  9359. - CI ready: 'Yes'
  9360. ID: ^TCPIP_TCP_0203
  9361. SDK: '8266_NonOS
  9362. 8266_RTOS
  9363. ESP32_IDF'
  9364. Test App: SSC
  9365. allow fail: ''
  9366. auto test: 'Yes'
  9367. category: Function
  9368. cmd set:
  9369. - ''
  9370. - - SOC SOC1 LISTEN <test_tcp_port1>
  9371. - [R SOC_COM L OK]
  9372. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  9373. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9374. - - SSC SSC1 soc -S -s <sock1>
  9375. - ['R SSC1 RE SEND:\d+,ERROR']
  9376. - - SSC SSC1 soc -B -t TCP
  9377. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9378. - - SSC SSC1 soc -S -s <sock2>
  9379. - ['R SSC1 RE SEND:\d+,ERROR']
  9380. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  9381. - ['R SSC1 RE CONNECT:\d+,OK']
  9382. - - SSC SSC1 soc -D -s <sock2>
  9383. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  9384. - - SSC SSC1 soc -S -s <sock2>
  9385. - ['R SSC1 RE SEND:\d+,ERROR']
  9386. - - SSC SSC1 soc -S -s 1000
  9387. - ['R SSC1 RE SEND:\d+,ERROR']
  9388. comment: ''
  9389. execution time: 0.0
  9390. expected result: '1.OK
  9391. 2.OK
  9392. 3.ERROR
  9393. 4.OK
  9394. 5.ERROR
  9395. 6.OK
  9396. 7.OK
  9397. 8.ERROR
  9398. 9.ERROR'
  9399. initial condition: STAAP2
  9400. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9401. on (autogen by STAM2)
  9402. level: Integration
  9403. module: TCPIP
  9404. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9405. 2.target1上创建UDP传输socket1,<test_udp_port1>
  9406. 3.target1上使用步骤2创建的socket1,去发送数据
  9407. 4.target1上创建TCP socket2
  9408. 5.target1上使用步骤4创建的socket2,去发送数据
  9409. 6.target1上使用步骤4创建的socket2,创建TCP连接,连接成功
  9410. 7.target1上shutdown 步骤4的socket2
  9411. 8.target1往socket2发送错误命令发送数据
  9412. 9.target1上不指定socket往上发送数据'
  9413. sub module: TCP
  9414. summary: send test. use socket in state that can't send
  9415. test environment: SSC_T1_1
  9416. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9417. PC has 1 WiFi NIC.
  9418. 1 SSC target connect with PC by UART.'
  9419. test point 1: basic function
  9420. test point 2: use TCP SAP (socket/espconn API) in different state
  9421. version: v1 (2016-8-15)
  9422. - CI ready: 'Yes'
  9423. ID: ^TCPIP_TCP_0204
  9424. SDK: '8266_NonOS
  9425. 8266_RTOS
  9426. ESP32_IDF'
  9427. Test App: SSC
  9428. allow fail: ''
  9429. auto test: 'Yes'
  9430. category: Function
  9431. cmd set:
  9432. - ''
  9433. - - SOC SOC1 LISTEN <test_tcp_port1>
  9434. - [R SOC_COM L OK]
  9435. - - SSC SSC1 soc -B -t TCP -w 0
  9436. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9437. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9438. - ['R SSC1 RE CONNECT:\d+,OK']
  9439. - - SOC SOC1 ACCEPT SOC2
  9440. - [R SOC_COM L OK]
  9441. - - SOC SOC2 SEND 146000
  9442. - [P SOC_COM R *]
  9443. - - SSC SSC1 soc -W -s <sock1> -o 1
  9444. - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
  9445. comment: ''
  9446. execution time: 0.0
  9447. expected result: '1.OK
  9448. 2.OK
  9449. 3.OK,pc server accept OK
  9450. 4.OK
  9451. 5.OK
  9452. 6.OK
  9453. 7.target收到146000 byte'
  9454. initial condition: STAAP2
  9455. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9456. on (autogen by STAM2)
  9457. level: Integration
  9458. module: TCPIP
  9459. steps: '1. PC上建立TCP 监听 test_tcp_port1
  9460. 2.target1上创建TCP socket
  9461. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  9462. 4.PC与target1 创建好TCP 连接,有ACCEPT
  9463. 5.target上不进行recv
  9464. 6.PC send 100 * 1460 data to target,
  9465. 7.在target上开始recv'
  9466. sub module: TCP
  9467. summary: STA mode, recv buffer test
  9468. test environment: SSC_T1_1
  9469. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9470. PC has 1 WiFi NIC.
  9471. 1 SSC target connect with PC by UART.'
  9472. test point 1: basic function
  9473. test point 2: use TCP SAP (socket/espconn API) in different state
  9474. version: v2 (2016-10-19)
  9475. - CI ready: 'Yes'
  9476. ID: ^TCPIP_TCP_0206
  9477. SDK: '8266_NonOS
  9478. 8266_RTOS
  9479. ESP32_IDF'
  9480. Test App: SSC
  9481. allow fail: ''
  9482. auto test: 'Yes'
  9483. category: Function
  9484. cmd set:
  9485. - ''
  9486. - - SOC SOC1 LISTEN <test_tcp_port1>
  9487. - [R SOC_COM L OK]
  9488. - - SSC SSC1 soc -B -t TCP -i <target_ip>
  9489. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9490. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9491. - ['R SSC1 RE CONNECT:\d+,OK']
  9492. - - SSC SSC1 soc -B -t TCP -i <target_ip>
  9493. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9494. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
  9495. - ['R SSC1 RE CONNECT:\d+,OK']
  9496. - - SSC SSC1 soc -D -s <sock2>
  9497. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  9498. - - SSC SSC1 soc -B -t TCP -p <random_port>
  9499. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  9500. - - SSC SSC1 soc -L -s <sock3>
  9501. - ['R SSC1 RE LISTEN:\d+,OK']
  9502. - - SOC SOC2 CONNECT <random_port> <target_ip>
  9503. - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
  9504. - - SSC SSC1 soc -I
  9505. - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>)',
  9506. 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)',
  9507. 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ip>,<random_port>,<pc_ip>)']
  9508. comment: ''
  9509. execution time: 0.0
  9510. expected result: '1.OK
  9511. 2.OK
  9512. 3.OK,pc tcp server accept成功
  9513. 4.OK
  9514. 5.OK
  9515. 6.OK
  9516. 7.OK
  9517. 8.OK
  9518. 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
  9519. 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
  9520. +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
  9521. +SOCINFO:<sock3>,<random_port>
  9522. +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
  9523. +SOCINF0ALL'
  9524. initial condition: STAAP2
  9525. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9526. on (autogen by STAM2)
  9527. level: Integration
  9528. module: TCPIP
  9529. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
  9530. \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
  9531. \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
  9532. \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
  9533. \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
  9534. sub module: TCP
  9535. summary: STA mode, get active socket info test
  9536. test environment: SSC_T1_1
  9537. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9538. PC has 1 WiFi NIC.
  9539. 1 SSC target connect with PC by UART.'
  9540. test point 1: basic function
  9541. test point 2: use TCP SAP (socket/espconn API) in different state
  9542. version: v1 (2016-8-15)
  9543. - CI ready: 'Yes'
  9544. ID: ^TCPIP_TCP_0207
  9545. SDK: '8266_NonOS
  9546. 8266_RTOS
  9547. ESP32_IDF'
  9548. Test App: SSC
  9549. allow fail: ''
  9550. auto test: 'Yes'
  9551. category: Function
  9552. cmd set:
  9553. - ''
  9554. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  9555. - [SOCR SOC_COM L OK]
  9556. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
  9557. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9558. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  9559. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9560. - - SSC SSC1 soc -B -t TCP
  9561. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9562. - - SSC SSC1 soc -L -s <sock2>
  9563. - ['R SSC1 RE LISTEN:\d+,OK']
  9564. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  9565. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9566. - - SSC SSC1 soc -B -t TCP
  9567. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  9568. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  9569. - ['P SSC1 RE CONNECT:\d+,OK']
  9570. - - SSC SSC1 soc -D -s <sock3> -h B
  9571. - ['P SSC1 RE SHUTDOWN:\d+,OK']
  9572. - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
  9573. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9574. - - SSC SSC1 soc -T
  9575. - [R SSC1 C +CLOSEALL]
  9576. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  9577. - ['P SSC1 RE CONNECT:\d+,ERROR']
  9578. comment: ''
  9579. execution time: 0.0
  9580. expected result: '1.ok
  9581. 2 OK
  9582. 3.ERROR
  9583. 4.OK
  9584. 5.OK
  9585. 6.ERROR
  9586. 7.OK
  9587. 8.OK
  9588. 9.OK
  9589. 10.OK
  9590. 11.OK
  9591. 12.ERROR'
  9592. initial condition: APSTA2
  9593. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  9594. by APM2)
  9595. level: Integration
  9596. module: TCPIP
  9597. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9598. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  9599. 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
  9600. 4.target1上创建TCP socket
  9601. 5.target1上使用步骤4创建的socket,创建TCP 监听
  9602. 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  9603. 7.target1上创建TCP socket
  9604. 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  9605. 9.target1上关闭步骤7创建的socket
  9606. 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
  9607. 11.target1上关闭所有创建的socket
  9608. 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
  9609. sub module: TCP
  9610. summary: AP mode, connect test. use socket in state that can't connect
  9611. test environment: SSC_T1_1
  9612. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9613. PC has 1 WiFi NIC.
  9614. 1 SSC target connect with PC by UART.'
  9615. test point 1: basic function
  9616. test point 2: use TCP SAP (socket/espconn API) in different state
  9617. version: v1 (2016-8-15)
  9618. - CI ready: 'Yes'
  9619. ID: ^TCPIP_TCP_0208
  9620. SDK: '8266_NonOS
  9621. 8266_RTOS
  9622. ESP32_IDF'
  9623. Test App: SSC
  9624. allow fail: ''
  9625. auto test: 'Yes'
  9626. category: Function
  9627. cmd set:
  9628. - ''
  9629. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  9630. - [R SOC_COM L OK]
  9631. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  9632. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9633. - - SSC SSC1 soc -L -s <sock1>
  9634. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9635. - - SSC SSC1 soc -B -t TCP
  9636. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9637. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  9638. - ['R SSC1 RE CONNECT:\d+,OK']
  9639. - - SSC SSC1 soc -L -s <sock2>
  9640. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9641. - - SSC SSC1 soc -D -s <sock2>
  9642. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  9643. - - SSC SSC1 soc -L -s <sock2>
  9644. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9645. - - SSC SSC1 soc -L -s 1000
  9646. - ['R SSC1 RE LISTEN:\d+,ERROR']
  9647. comment: ''
  9648. execution time: 0.0
  9649. expected result: '1.OK
  9650. 2.OK
  9651. 3.ERROR
  9652. 4 OK
  9653. 5.OK
  9654. 6.ERROR
  9655. 7.OK
  9656. 8.ERROR
  9657. 9.ERROR'
  9658. initial condition: APSTA2
  9659. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  9660. by APM2)
  9661. level: Integration
  9662. module: TCPIP
  9663. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9664. 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
  9665. 3.target1上使用步骤2创建的socket,去建立TCP 监听
  9666. 4.target1上创建TCP socket
  9667. 5.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
  9668. 6.target1上使用步骤4创建的socket,创建TCP 监听
  9669. 7.target1上shutdown 步骤4的socket
  9670. 8.target1上使用步骤4创建的socket,创建TCP 监听
  9671. 9.target1上使用不存在socket,创建TCP 监听'
  9672. sub module: TCP
  9673. summary: AP mode, server listen test. use socket in state that can't listen
  9674. test environment: SSC_T1_1
  9675. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9676. PC has 1 WiFi NIC.
  9677. 1 SSC target connect with PC by UART.'
  9678. test point 1: basic function
  9679. test point 2: use TCP SAP (socket/espconn API) in different state
  9680. version: v1 (2016-8-15)
  9681. - CI ready: 'Yes'
  9682. ID: ^TCPIP_TCP_0210
  9683. SDK: '8266_NonOS
  9684. 8266_RTOS
  9685. ESP32_IDF'
  9686. Test App: SSC
  9687. allow fail: ''
  9688. auto test: 'Yes'
  9689. category: Function
  9690. cmd set:
  9691. - ''
  9692. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  9693. - [R SOC_COM L OK]
  9694. - - SSC SSC1 soc -B -t TCP -w 0
  9695. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9696. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  9697. - ['R SSC1 RE CONNECT:\d+,OK']
  9698. - - SOC SOC1 ACCEPT SOC2
  9699. - [R SOC_COM L OK]
  9700. - - SOC SOC2 SEND 146000
  9701. - [P SOC_COM R *]
  9702. - - SSC SSC1 soc -W -s <sock1> -o 1
  9703. - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
  9704. comment: ''
  9705. execution time: 0.0
  9706. expected result: '1.OK
  9707. 2.OK
  9708. 3.OK,pc tcp server accept成功
  9709. 4.OK
  9710. 6.OK
  9711. 7.收到 146000 数据'
  9712. initial condition: APSTA2
  9713. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  9714. by APM2)
  9715. level: Integration
  9716. module: TCPIP
  9717. steps: '1. PC上建立TCP 监听 test_tcp_port1
  9718. 2.target1上创建TCP socket
  9719. 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
  9720. 4.PC与target1 创建好TCP 连接,有ACCEPT
  9721. 5.target停止调用recv
  9722. 6.PC send 100 * 1460 data to 8266,
  9723. 7.target重新调用recv'
  9724. sub module: TCP
  9725. summary: AP mode, recv buffer test
  9726. test environment: SSC_T1_1
  9727. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9728. PC has 1 WiFi NIC.
  9729. 1 SSC target connect with PC by UART.'
  9730. test point 1: basic function
  9731. test point 2: use TCP SAP (socket/espconn API) in different state
  9732. version: v2 (2016-10-19)
  9733. - CI ready: 'Yes'
  9734. ID: ^TCPIP_TCP_0212
  9735. SDK: '8266_NonOS
  9736. 8266_RTOS
  9737. ESP32_IDF'
  9738. Test App: SSC
  9739. allow fail: ''
  9740. auto test: 'Yes'
  9741. category: Function
  9742. cmd set:
  9743. - ''
  9744. - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
  9745. - [R SOC_COM L OK]
  9746. - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
  9747. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9748. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
  9749. - ['R SSC1 RE CONNECT:\d+,OK']
  9750. - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
  9751. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  9752. - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
  9753. - ['R SSC1 RE CONNECT:\d+,OK']
  9754. - - SSC SSC1 soc -D -s <sock2>
  9755. - ['R SSC1 RE SHUTDOWN:\d+,OK']
  9756. - - SSC SSC1 soc -B -t TCP -p <random_port>
  9757. - ['R SSC1 A <sock3>:BIND:(\d+),OK']
  9758. - - SSC SSC1 soc -L -s <sock3>
  9759. - ['R SSC1 RE LISTEN:\d+,OK']
  9760. - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
  9761. - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
  9762. - - SSC SSC1 soc -I
  9763. - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)',
  9764. 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(<sock3>,<random_port>)',
  9765. 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)']
  9766. comment: ''
  9767. execution time: 0.0
  9768. expected result: '1.OK
  9769. 2.OK
  9770. 3.OK,pc tcp server accept成功
  9771. 4.OK
  9772. 5.OK
  9773. 6.OK
  9774. 7.OK
  9775. 8.OK
  9776. 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
  9777. 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
  9778. +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
  9779. +SOCINFO:<sock3>,<random_port>
  9780. +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
  9781. +SOCINF0ALL'
  9782. initial condition: APSTA2
  9783. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  9784. by APM2)
  9785. level: Integration
  9786. module: TCPIP
  9787. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
  9788. \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
  9789. \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
  9790. \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
  9791. \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
  9792. sub module: TCP
  9793. summary: AP mode, get active socket info test
  9794. test environment: SSC_T1_1
  9795. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9796. PC has 1 WiFi NIC.
  9797. 1 SSC target connect with PC by UART.'
  9798. test point 1: basic function
  9799. test point 2: use TCP SAP (socket/espconn API) in different state
  9800. version: v1 (2016-8-15)
  9801. - CI ready: 'Yes'
  9802. ID: ^TCPIP_TCP_0401
  9803. SDK: '8266_NonOS
  9804. 8266_RTOS
  9805. ESP32_IDF'
  9806. Test App: SSC
  9807. allow fail: ''
  9808. auto test: 'Yes'
  9809. category: Function
  9810. cmd set:
  9811. - ''
  9812. - - SOC SOC1 LISTEN <test_tcp_port1>
  9813. - [R SOC_COM L OK]
  9814. - - SSC SSC1 soc -B -t TCP
  9815. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9816. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9817. - ['R SSC1 RE CONNECT:\d+,OK']
  9818. - - SOC SOC1 ACCEPT SOC2
  9819. - [R SOC_COM L OK]
  9820. - - SSC SSC1 sta -D
  9821. - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
  9822. - - SSC SSC1 soc -S -s <sock1> -l 5
  9823. - ['P SSC1 RE SEND:\d+,ERROR']
  9824. comment: ''
  9825. execution time: 0.0
  9826. expected result: '1.OK
  9827. 2.OK
  9828. 3.OK; PC TCP server accept 成功
  9829. 4.OK
  9830. 5.OK
  9831. 6.ERROR'
  9832. initial condition: STAAP2
  9833. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9834. on (autogen by STAM2)
  9835. level: Integration
  9836. module: TCPIP
  9837. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9838. 2.target1上创建TCP socket1
  9839. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  9840. 4.PC与target1创建好TCP 连接,有ACCEPT
  9841. 5.断开与AP 连接
  9842. 6.8266往PC上发送5字节数据'
  9843. sub module: TCP
  9844. summary: do TCP send after WIFI disconnected
  9845. test environment: SSC_T1_1
  9846. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9847. PC has 1 WiFi NIC.
  9848. 1 SSC target connect with PC by UART.'
  9849. test point 1: abnormal/special use
  9850. test point 2: TCP handling abnormal event
  9851. version: v1 (2016-8-15)
  9852. - CI ready: 'Yes'
  9853. ID: ^TCPIP_TCP_0402
  9854. SDK: '8266_NonOS
  9855. 8266_RTOS
  9856. ESP32_IDF'
  9857. Test App: SSC
  9858. allow fail: ''
  9859. auto test: 'Yes'
  9860. category: Function
  9861. cmd set:
  9862. - ''
  9863. - - SOC SOC1 LISTEN <test_tcp_port1>
  9864. - [R SOC_COM L OK]
  9865. - - SSC SSC1 soc -B -t TCP
  9866. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9867. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9868. - ['R SSC1 RE CONNECT:\d+,OK']
  9869. - - SOC SOC1 ACCEPT SOC2
  9870. - [R SOC_COM L OK]
  9871. - - SSC SSC1 sta -D
  9872. - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
  9873. - - SSC SSC1 soc -T -s <sock1>
  9874. - ['R SSC1 RE CLOSE:\d+,OK']
  9875. comment: ''
  9876. execution time: 0.0
  9877. expected result: '1.OK
  9878. 2.OK
  9879. 3.OK; PC TCP server accept 成功
  9880. 4.OK
  9881. 5.OK
  9882. 6.OK'
  9883. initial condition: STAAP2
  9884. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9885. on (autogen by STAM2)
  9886. level: Integration
  9887. module: TCPIP
  9888. steps: '1.PC上建立TCP 监听 test_tcp_port1
  9889. 2.target1上创建TCP socket1
  9890. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  9891. 4.PC与target1创建好TCP 连接,有ACCEPT
  9892. 5.断开与AP 连接
  9893. 6.关闭建立的socket1连接'
  9894. sub module: TCP
  9895. summary: "close TCP socket after WIFI \ndisconnected"
  9896. test environment: SSC_T1_1
  9897. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9898. PC has 1 WiFi NIC.
  9899. 1 SSC target connect with PC by UART.'
  9900. test point 1: abnormal/special use
  9901. test point 2: TCP handling abnormal event
  9902. version: v1 (2016-8-15)
  9903. - CI ready: 'Yes'
  9904. ID: ^TCPIP_TCP_0403
  9905. SDK: '8266_NonOS
  9906. 8266_RTOS
  9907. ESP32_IDF'
  9908. Test App: SSC
  9909. allow fail: ''
  9910. auto test: 'Yes'
  9911. category: Function
  9912. cmd set:
  9913. - ''
  9914. - - SOC SOC1 LISTEN <test_tcp_port1>
  9915. - [R SOC_COM L OK]
  9916. - - SSC SSC1 soc -B -t TCP
  9917. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9918. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9919. - ['R SSC1 RE CONNECT:\d+,OK']
  9920. - - SOC SOC1 ACCEPT SOC2
  9921. - [R SOC_COM L OK]
  9922. - - SSC SSC1 op -S -o 2
  9923. - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
  9924. - - SSC SSC1 soc -S -s <sock1> -l 5
  9925. - ['P SSC1 RE SEND:\d+,ERROR']
  9926. comment: ''
  9927. execution time: 0.0
  9928. expected result: '1.OK
  9929. 2.OK
  9930. 3.OK; PC TCP server accept 成功
  9931. 4.OK
  9932. 5.OK
  9933. 6.ERROR'
  9934. initial condition: STAAP2
  9935. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9936. on (autogen by STAM2)
  9937. level: Integration
  9938. module: TCPIP
  9939. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  9940. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
  9941. \ \n6.8266往PC上发送5字节数据"
  9942. sub module: TCP
  9943. summary: do TCP send after mode changed
  9944. test environment: SSC_T1_1
  9945. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9946. PC has 1 WiFi NIC.
  9947. 1 SSC target connect with PC by UART.'
  9948. test point 1: abnormal/special use
  9949. test point 2: TCP handling abnormal event
  9950. version: v1 (2016-8-15)
  9951. - CI ready: 'Yes'
  9952. ID: ^TCPIP_TCP_0404
  9953. SDK: '8266_NonOS
  9954. 8266_RTOS
  9955. ESP32_IDF'
  9956. Test App: SSC
  9957. allow fail: ''
  9958. auto test: 'Yes'
  9959. category: Function
  9960. cmd set:
  9961. - ''
  9962. - - SOC SOC1 LISTEN <test_tcp_port1>
  9963. - [R SOC_COM L OK]
  9964. - - SSC SSC1 soc -B -t TCP
  9965. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  9966. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  9967. - ['R SSC1 RE CONNECT:\d+,OK']
  9968. - - SOC SOC1 ACCEPT SOC2
  9969. - [R SOC_COM L OK]
  9970. - - SSC SSC1 op -S -o 2
  9971. - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
  9972. - - SSC SSC1 soc -T -s <sock1>
  9973. - ['R SSC1 RE CLOSE:\d+,OK']
  9974. comment: ''
  9975. execution time: 0.0
  9976. expected result: '1.OK
  9977. 2.OK
  9978. 3.OK; PC TCP server accept 成功
  9979. 4.OK
  9980. 5.OK
  9981. 6.OK'
  9982. initial condition: STAAP2
  9983. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  9984. on (autogen by STAM2)
  9985. level: Integration
  9986. module: TCPIP
  9987. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  9988. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
  9989. \ \n6.关闭建立的socket1连接"
  9990. sub module: TCP
  9991. summary: close TCP socket after mode changed
  9992. test environment: SSC_T1_1
  9993. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  9994. PC has 1 WiFi NIC.
  9995. 1 SSC target connect with PC by UART.'
  9996. test point 1: abnormal/special use
  9997. test point 2: TCP handling abnormal event
  9998. version: v1 (2016-8-15)
  9999. - CI ready: 'Yes'
  10000. ID: ^TCPIP_TCP_0405
  10001. SDK: '8266_NonOS
  10002. 8266_RTOS
  10003. ESP32_IDF'
  10004. Test App: SSC
  10005. allow fail: ''
  10006. auto test: 'Yes'
  10007. category: Function
  10008. cmd set:
  10009. - ''
  10010. - - SOC SOC1 LISTEN <test_tcp_port1>
  10011. - [R SOC_COM L OK]
  10012. - - SSC SSC1 soc -B -t TCP
  10013. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10014. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  10015. - ['R SSC1 RE CONNECT:\d+,OK']
  10016. - - SOC SOC1 ACCEPT SOC2
  10017. - [R SOC_COM L OK]
  10018. - - NIC <pc_nic> DISABLED
  10019. - [R PC_COM C OK]
  10020. - - SSC SSC1 soc -S -s <sock1> -l 1
  10021. - ['']
  10022. - - DELAY 5400
  10023. - ['P SSC1 RE CLOSED:\d+,0']
  10024. comment: ''
  10025. execution time: 1.5
  10026. expected result: '1.OK
  10027. 2.OK
  10028. 3.OK; PC TCP server accept 成功
  10029. 4.OK
  10030. 5.OK
  10031. 6.TCP连接断开'
  10032. initial condition: STAAP2
  10033. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10034. on (autogen by STAM2)
  10035. level: Integration
  10036. module: TCPIP
  10037. steps: '1.PC上建立TCP 监听 test_tcp_port1
  10038. 2.target1上创建TCP socket1
  10039. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  10040. 4.PC与target1创建好TCP 连接,有ACCEPT
  10041. 5.PC 网卡 disable
  10042. 6.target1上使用socket1发送数据,等待 90 分钟'
  10043. sub module: TCP
  10044. summary: do TCP send after PC NIC disabled
  10045. test environment: SSC_T1_1
  10046. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10047. PC has 1 WiFi NIC.
  10048. 1 SSC target connect with PC by UART.'
  10049. test point 1: abnormal/special use
  10050. test point 2: TCP handling abnormal event
  10051. version: v1 (2016-8-15)
  10052. - CI ready: 'Yes'
  10053. ID: ^TCPIP_TCP_0406
  10054. SDK: '8266_NonOS
  10055. 8266_RTOS
  10056. ESP32_IDF'
  10057. Test App: SSC
  10058. allow fail: ''
  10059. auto test: 'Yes'
  10060. category: Function
  10061. cmd set:
  10062. - ''
  10063. - - SOC SOC1 LISTEN <test_tcp_port1>
  10064. - [R SOC_COM L OK]
  10065. - - SSC SSC1 soc -B -t TCP
  10066. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10067. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  10068. - ['R SSC1 RE CONNECT:\d+,OK']
  10069. - - SOC SOC1 ACCEPT SOC2
  10070. - [R SOC_COM L OK]
  10071. - - NIC <pc_nic> DISABLED
  10072. - [R PC_COM C OK]
  10073. - - SSC SSC1 soc -T -s <sock1>
  10074. - ['R SSC1 RE CLOSE:\d+,OK']
  10075. comment: ''
  10076. execution time: 0.0
  10077. expected result: '1.OK
  10078. 2.OK
  10079. 3.OK; PC TCP server accept 成功
  10080. 4.OK
  10081. 5.OK
  10082. 6.OK'
  10083. initial condition: STAAP2
  10084. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10085. on (autogen by STAM2)
  10086. level: Integration
  10087. module: TCPIP
  10088. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  10089. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接"
  10090. sub module: TCP
  10091. summary: close TCP socket after PC NIC disabled
  10092. test environment: SSC_T1_1
  10093. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10094. PC has 1 WiFi NIC.
  10095. 1 SSC target connect with PC by UART.'
  10096. test point 1: abnormal/special use
  10097. test point 2: TCP handling abnormal event
  10098. version: v1 (2016-8-15)
  10099. - CI ready: 'Yes'
  10100. ID: ^TCPIP_TCP_0407
  10101. SDK: '8266_NonOS
  10102. 8266_RTOS
  10103. ESP32_IDF'
  10104. Test App: SSC
  10105. allow fail: ''
  10106. auto test: 'Yes'
  10107. category: Function
  10108. cmd set:
  10109. - ''
  10110. - - SOC SOC1 LISTEN <test_tcp_port1>
  10111. - [R SOC_COM L OK]
  10112. - - SSC SSC1 soc -B -t TCP
  10113. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10114. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  10115. - ['R SSC1 RE CONNECT:\d+,OK']
  10116. - - SOC SOC1 ACCEPT SOC2
  10117. - [R SOC_COM L OK]
  10118. - - SSC SSC1 dhcp -E -o 1
  10119. - ['R SSC1 C +DHCP:STA,OK']
  10120. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  10121. - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
  10122. - - SSC SSC1 ip -Q -o 1
  10123. - ['R SSC1 C +STAIP:192.168.111.210']
  10124. - - SSC SSC1 soc -S -s <sock1> -l 5
  10125. - ['P SSC1 RE SEND:\d+,ERROR']
  10126. comment: ''
  10127. execution time: 0.0
  10128. expected result: '1.OK
  10129. 2.OK
  10130. 3.OK; PC TCP server accept 成功
  10131. 4.OK
  10132. 5.OK
  10133. 6.OK
  10134. 7.OK
  10135. 8.ERROR'
  10136. initial condition: STAAP2
  10137. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10138. on (autogen by STAM2)
  10139. level: Integration
  10140. module: TCPIP
  10141. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  10142. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
  10143. \ ip \n7.查询sta ip 地址是否生效\n8.8266往PC上发送5字节数据"
  10144. sub module: TCP
  10145. summary: do TCP send after IP changed
  10146. test environment: SSC_T1_1
  10147. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10148. PC has 1 WiFi NIC.
  10149. 1 SSC target connect with PC by UART.'
  10150. test point 1: abnormal/special use
  10151. test point 2: TCP handling abnormal event
  10152. version: v1 (2016-8-15)
  10153. - CI ready: 'Yes'
  10154. ID: ^TCPIP_TCP_0408
  10155. SDK: '8266_NonOS
  10156. 8266_RTOS
  10157. ESP32_IDF'
  10158. Test App: SSC
  10159. allow fail: ''
  10160. auto test: 'Yes'
  10161. category: Function
  10162. cmd set:
  10163. - ''
  10164. - - SOC SOC1 LISTEN <test_tcp_port1>
  10165. - [R SOC_COM L OK]
  10166. - - SSC SSC1 soc -B -t TCP
  10167. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10168. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  10169. - ['R SSC1 RE CONNECT:\d+,OK']
  10170. - - SOC SOC1 ACCEPT SOC2
  10171. - [R SOC_COM L OK]
  10172. - - SSC SSC1 dhcp -E -o 1
  10173. - ['R SSC1 C +DHCP:STA,OK']
  10174. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  10175. - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
  10176. - - SSC SSC1 ip -Q -o 1
  10177. - ['R SSC1 C +STAIP:192.168.111.210']
  10178. - - SSC SSC1 soc -T -s <sock1>
  10179. - ['R SSC1 RE CLOSE:\d+,OK']
  10180. comment: ''
  10181. execution time: 0.0
  10182. expected result: '1.OK
  10183. 2.OK
  10184. 3.OK; PC TCP server accept 成功
  10185. 4.OK
  10186. 5.OK
  10187. 6.OK
  10188. 7.OK
  10189. 8.OK'
  10190. initial condition: STAAP2
  10191. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10192. on (autogen by STAM2)
  10193. level: Integration
  10194. module: TCPIP
  10195. steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
  10196. \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
  10197. \ ip \n7.查询sta ip 地址是否生效\n8.关闭建立的socket1连接"
  10198. sub module: TCP
  10199. summary: close TCP socket after IP changed
  10200. test environment: SSC_T1_1
  10201. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10202. PC has 1 WiFi NIC.
  10203. 1 SSC target connect with PC by UART.'
  10204. test point 1: abnormal/special use
  10205. test point 2: TCP handling abnormal event
  10206. version: v1 (2016-8-15)
  10207. - CI ready: 'Yes'
  10208. ID: ^TCPIP_TCP_0411
  10209. SDK: '8266_NonOS
  10210. 8266_RTOS
  10211. ESP32_IDF'
  10212. Test App: SSC
  10213. allow fail: ''
  10214. auto test: 'Yes'
  10215. category: Function
  10216. cmd set:
  10217. - ''
  10218. - - SOC SOC1 LISTEN <test_tcp_port1>
  10219. - [R SOC_COM L OK]
  10220. - - SSC SSC1 soc -B -t TCP
  10221. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10222. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  10223. - ['R SSC1 RE CONNECT:\d+,OK']
  10224. - - SOC SOC1 ACCEPT SOC2
  10225. - [R SOC_COM L OK]
  10226. - - SSC SSC1 soc -B -t TCP
  10227. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  10228. - - SSC SSC1 soc -S -s <sock2> -l 5
  10229. - ['P SSC1 RE SEND:\d+,ERROR']
  10230. - - SSC SSC1 soc -S -s <sock1> -l 5
  10231. - ['P SSC1 RE SEND:\d+,OK']
  10232. comment: ''
  10233. execution time: 0.0
  10234. expected result: '1.OK
  10235. 2.OK
  10236. 3.OK; PC TCP server accept 成功
  10237. 4.OK
  10238. 5.OK
  10239. 6.ERROR
  10240. 7.OK'
  10241. initial condition: STAAP2
  10242. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10243. on (autogen by STAM2)
  10244. level: Integration
  10245. module: TCPIP
  10246. steps: '1.PC上建立TCP 监听 test_tcp_port1
  10247. 2.target1上创建TCP socket1
  10248. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  10249. 4.PC与target1创建好TCP 连接,有ACCEPT
  10250. 5.target1上创建TCP socket2
  10251. 6.8266往PC socket2上发送5字节数据
  10252. 7.8266往PC socket1上发送5字节数据'
  10253. sub module: TCP
  10254. summary: do TCP send after socket changed
  10255. test environment: SSC_T1_1
  10256. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10257. PC has 1 WiFi NIC.
  10258. 1 SSC target connect with PC by UART.'
  10259. test point 1: abnormal/special use
  10260. test point 2: TCP handling abnormal event
  10261. version: v1 (2016-8-15)
  10262. - CI ready: 'Yes'
  10263. ID: ^TCPIP_TCP_0412
  10264. SDK: '8266_NonOS
  10265. 8266_RTOS
  10266. ESP32_IDF'
  10267. Test App: SSC
  10268. allow fail: ''
  10269. auto test: 'Yes'
  10270. category: Function
  10271. cmd set:
  10272. - ''
  10273. - - SOC SOC1 LISTEN <test_tcp_port1>
  10274. - [R SOC_COM L OK]
  10275. - - SSC SSC1 soc -B -t TCP
  10276. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10277. - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
  10278. - ['R SSC1 RE CONNECT:\d+,OK']
  10279. - - SOC SOC1 ACCEPT SOC2
  10280. - [R SOC_COM L OK]
  10281. - - SSC SSC1 soc -B -t TCP
  10282. - ['R SSC1 A <sock2>:BIND:(\d+),OK']
  10283. - - SSC SSC1 soc -T -s <sock1>
  10284. - ['R SSC1 RE CLOSE:\d+,OK']
  10285. - - SSC SSC1 soc -T -s <sock2>
  10286. - ['R SSC1 RE CLOSE:\d+,OK']
  10287. comment: ''
  10288. execution time: 0.0
  10289. expected result: '1.OK
  10290. 2.OK
  10291. 3.OK; PC TCP server accept 成功
  10292. 4.OK
  10293. 5.OK
  10294. 6.OK
  10295. 7.OK'
  10296. initial condition: STAAP2
  10297. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10298. on (autogen by STAM2)
  10299. level: Integration
  10300. module: TCPIP
  10301. steps: '1.PC上建立TCP 监听 test_tcp_port1
  10302. 2.target1上创建TCP socket1
  10303. 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
  10304. 4.PC与target1创建好TCP 连接,有ACCEPT
  10305. 5.target1上创建TCP socket2
  10306. 6.关闭socket1 连接
  10307. 7.关闭socket2连接'
  10308. sub module: TCP
  10309. summary: close TCP send after socket changed
  10310. test environment: SSC_T1_1
  10311. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10312. PC has 1 WiFi NIC.
  10313. 1 SSC target connect with PC by UART.'
  10314. test point 1: abnormal/special use
  10315. test point 2: TCP handling abnormal event
  10316. version: v1 (2016-8-15)
  10317. - CI ready: 'Yes'
  10318. ID: ^TCPIP_UDP_0101
  10319. SDK: '8266_NonOS
  10320. 8266_RTOS
  10321. ESP32_IDF'
  10322. Test App: SSC
  10323. allow fail: ''
  10324. auto test: 'Yes'
  10325. category: Function
  10326. cmd set:
  10327. - ''
  10328. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10329. - ['R SSC1 RE BIND:(\d+),OK']
  10330. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
  10331. - ['R SSC1 RE BIND:(\d+),OK']
  10332. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10333. - ['R SSC1 C BIND:ERROR']
  10334. - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
  10335. - ['R SSC1 RE BIND:(\d+),OK']
  10336. comment: ''
  10337. execution time: 0.0
  10338. expected result: '1.OK
  10339. 2.OK
  10340. 3.ERROR
  10341. 4.OK'
  10342. initial condition: STAAP2
  10343. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10344. on (autogen by STAM2)
  10345. level: Integration
  10346. module: TCPIP
  10347. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10348. 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
  10349. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10350. 4.target1上创建TCP socket3, target_udp_port1'
  10351. sub module: UDP
  10352. summary: STA mode, udp bind test. use different ip, port
  10353. test environment: SSC_T1_1
  10354. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10355. PC has 1 WiFi NIC.
  10356. 1 SSC target connect with PC by UART.'
  10357. test point 1: basic function
  10358. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10359. version: v1 (2016-8-15)
  10360. - CI ready: 'Yes'
  10361. ID: ^TCPIP_UDP_0102
  10362. SDK: '8266_NonOS
  10363. 8266_RTOS
  10364. ESP32_IDF'
  10365. Test App: SSC
  10366. allow fail: 1/5
  10367. auto test: 'Yes'
  10368. category: Function
  10369. cmd set:
  10370. - ''
  10371. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  10372. - [R SOC_COM L OK]
  10373. - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
  10374. - [R SOC_COM L OK]
  10375. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10376. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10377. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
  10378. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 10]
  10379. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
  10380. - ['P SSC1 RE SEND:(\d+),OK', P SOC2 UL 10]
  10381. comment: ''
  10382. execution time: 0.0
  10383. expected result: '1.OK
  10384. 2.OK
  10385. 3.OK
  10386. 4.OK
  10387. 5.OK'
  10388. initial condition: STAAP2
  10389. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10390. on (autogen by STAM2)
  10391. level: Integration
  10392. module: TCPIP
  10393. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  10394. 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  10395. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10396. 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
  10397. 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
  10398. sub module: UDP
  10399. summary: STA mode, sendto test. use different ip, port
  10400. test environment: SSC_T1_1
  10401. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10402. PC has 1 WiFi NIC.
  10403. 1 SSC target connect with PC by UART.'
  10404. test point 1: basic function
  10405. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10406. version: v1 (2016-8-15)
  10407. - CI ready: 'Yes'
  10408. ID: ^TCPIP_UDP_0103
  10409. SDK: '8266_NonOS
  10410. 8266_RTOS
  10411. ESP32_IDF'
  10412. Test App: SSC
  10413. allow fail: 1/5
  10414. auto test: 'Yes'
  10415. category: Function
  10416. cmd set:
  10417. - ''
  10418. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  10419. - [R SOC_COM L OK]
  10420. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10421. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10422. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
  10423. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
  10424. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
  10425. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
  10426. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
  10427. - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
  10428. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
  10429. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
  10430. comment: ''
  10431. execution time: 0.0
  10432. expected result: '1.OK
  10433. 2.OK
  10434. 3.OK
  10435. 4.OK
  10436. 5.OK,没有到UDP包
  10437. 6.OK'
  10438. initial condition: STAAP2
  10439. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10440. on (autogen by STAM2)
  10441. level: Integration
  10442. module: TCPIP
  10443. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  10444. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10445. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  10446. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  10447. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  10448. 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
  10449. sub module: UDP
  10450. summary: STA mode, sendto test with different length
  10451. test environment: SSC_T1_1
  10452. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10453. PC has 1 WiFi NIC.
  10454. 1 SSC target connect with PC by UART.'
  10455. test point 1: basic function
  10456. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10457. version: v1 (2016-8-15)
  10458. - CI ready: 'Yes'
  10459. ID: ^TCPIP_UDP_0104
  10460. SDK: '8266_NonOS
  10461. 8266_RTOS
  10462. ESP32_IDF'
  10463. Test App: SSC
  10464. allow fail: 1/5
  10465. auto test: 'Yes'
  10466. category: Function
  10467. cmd set:
  10468. - ''
  10469. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  10470. - [R SOC_COM L OK]
  10471. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10472. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10473. - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
  10474. - [R SSC1 SL <sock1>+1]
  10475. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  10476. - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)']
  10477. - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
  10478. - [P SSC1 NC +RECVFROM, P SOC_COM C OK]
  10479. - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
  10480. - [R SOC_COM L OK]
  10481. - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
  10482. - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)']
  10483. comment: ''
  10484. execution time: 0.0
  10485. expected result: '1.OK
  10486. 2.OK
  10487. 3.OK
  10488. 4.OK
  10489. 5.OK,没收到UDP包
  10490. 6.OK
  10491. 7.OK'
  10492. initial condition: STAAP2
  10493. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10494. on (autogen by STAM2)
  10495. level: Integration
  10496. module: TCPIP
  10497. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  10498. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10499. 3.PC往8266上发送1字节数据
  10500. 4.PC往8266上发送1472字节数据
  10501. 5.PC往8266上发送1473字节数据
  10502. 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
  10503. 7.PC往8266上发送1472字节数据'
  10504. sub module: UDP
  10505. summary: STA mode, recvfrom basic test
  10506. test environment: SSC_T1_1
  10507. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10508. PC has 1 WiFi NIC.
  10509. 1 SSC target connect with PC by UART.'
  10510. test point 1: basic function
  10511. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10512. version: v1 (2016-8-15)
  10513. - CI ready: 'Yes'
  10514. ID: ^TCPIP_UDP_0105
  10515. SDK: '8266_NonOS
  10516. 8266_RTOS
  10517. ESP32_IDF'
  10518. Test App: SSC
  10519. allow fail: ''
  10520. auto test: 'Yes'
  10521. category: Function
  10522. cmd set:
  10523. - ''
  10524. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10525. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10526. - - SSC SSC1 soc -T -s <sock1>
  10527. - ['R SSC1 RE CLOSE:\d+']
  10528. comment: ''
  10529. execution time: 0.0
  10530. expected result: '1.OK
  10531. 2.OK'
  10532. initial condition: STAAP2
  10533. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10534. on (autogen by STAM2)
  10535. level: Integration
  10536. module: TCPIP
  10537. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10538. 2.关闭socket1'
  10539. sub module: UDP
  10540. summary: STA mode, close UDP sockets test
  10541. test environment: SSC_T1_1
  10542. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10543. PC has 1 WiFi NIC.
  10544. 1 SSC target connect with PC by UART.'
  10545. test point 1: basic function
  10546. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10547. version: v1 (2016-8-15)
  10548. - CI ready: 'Yes'
  10549. ID: ^TCPIP_UDP_0106
  10550. SDK: '8266_NonOS
  10551. 8266_RTOS
  10552. ESP32_IDF'
  10553. Test App: SSC
  10554. allow fail: ''
  10555. auto test: 'Yes'
  10556. category: Function
  10557. cmd set:
  10558. - ''
  10559. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10560. - ['R SSC1 RE BIND:(\d+),OK']
  10561. - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
  10562. - ['R SSC1 RE BIND:(\d+),OK']
  10563. - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
  10564. - ['R SSC1 RE BIND:(\d+),OK']
  10565. - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
  10566. - ['R SSC1 RE BIND:(\d+),OK']
  10567. - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
  10568. - ['R SSC1 RE BIND:(\d+),OK']
  10569. comment: ''
  10570. execution time: 0.0
  10571. expected result: '1.ok
  10572. 2.ok
  10573. 3.ok
  10574. 4.ok
  10575. 5.ok'
  10576. initial condition: STAAP2
  10577. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10578. on (autogen by STAM2)
  10579. level: Integration
  10580. module: TCPIP
  10581. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10582. 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
  10583. 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
  10584. 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
  10585. 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
  10586. sub module: UDP
  10587. summary: STA mode, create max udp socket test
  10588. test environment: SSC_T1_1
  10589. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10590. PC has 1 WiFi NIC.
  10591. 1 SSC target connect with PC by UART.'
  10592. test point 1: basic function
  10593. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10594. version: v1 (2016-8-15)
  10595. - CI ready: 'Yes'
  10596. ID: ^TCPIP_UDP_0107
  10597. SDK: '8266_NonOS
  10598. 8266_RTOS
  10599. ESP32_IDF'
  10600. Test App: SSC
  10601. allow fail: ''
  10602. auto test: 'Yes'
  10603. category: Function
  10604. cmd set:
  10605. - ''
  10606. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10607. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10608. - - SSC SSC1 soc -I
  10609. - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
  10610. comment: ''
  10611. execution time: 0.0
  10612. expected result: '1.OK
  10613. 2.OK'
  10614. initial condition: STAAP2
  10615. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10616. on (autogen by STAM2)
  10617. level: Integration
  10618. module: TCPIP
  10619. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10620. 2.target1上查询创建socket信息'
  10621. sub module: UDP
  10622. summary: STA mode, get active socket info test
  10623. test environment: SSC_T1_1
  10624. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10625. PC has 1 WiFi NIC.
  10626. 1 SSC target connect with PC by UART.'
  10627. test point 1: basic function
  10628. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10629. version: v1 (2016-8-15)
  10630. - CI ready: 'Yes'
  10631. ID: ^TCPIP_UDP_0108
  10632. SDK: '8266_NonOS
  10633. 8266_RTOS
  10634. ESP32_IDF'
  10635. Test App: SSC
  10636. allow fail: ''
  10637. auto test: 'Yes'
  10638. category: Function
  10639. cmd set:
  10640. - ''
  10641. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10642. - ['R SSC1 RE BIND:(\d+),OK']
  10643. - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
  10644. - ['R SSC1 RE BIND:(\d+),OK']
  10645. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10646. - ['R SSC1 C BIND:ERROR']
  10647. - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
  10648. - ['R SSC1 RE BIND:(\d+),OK']
  10649. comment: ''
  10650. execution time: 0.0
  10651. expected result: '1.OK
  10652. 2.OK
  10653. 3.ERROR
  10654. 4.OK'
  10655. initial condition: APSTA2
  10656. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  10657. by APM2)
  10658. level: Integration
  10659. module: TCPIP
  10660. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10661. 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
  10662. 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10663. 4.target1上创建TCP socket3, target_udp_port1'
  10664. sub module: UDP
  10665. summary: AP mode, udp bind test. use different ip, port
  10666. test environment: SSC_T1_1
  10667. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10668. PC has 1 WiFi NIC.
  10669. 1 SSC target connect with PC by UART.'
  10670. test point 1: basic function
  10671. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10672. version: v1 (2016-8-15)
  10673. - CI ready: 'Yes'
  10674. ID: ^TCPIP_UDP_0110
  10675. SDK: '8266_NonOS
  10676. 8266_RTOS
  10677. ESP32_IDF'
  10678. Test App: SSC
  10679. allow fail: 1/5
  10680. auto test: 'Yes'
  10681. category: Function
  10682. cmd set:
  10683. - ''
  10684. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  10685. - [R SOC_COM L OK]
  10686. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10687. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10688. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
  10689. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
  10690. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
  10691. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
  10692. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
  10693. - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
  10694. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
  10695. -j 20
  10696. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
  10697. comment: ''
  10698. execution time: 0.0
  10699. expected result: '1.OK
  10700. 2.OK
  10701. 3.OK
  10702. 4.OK
  10703. 5.OK,没收到UDP包
  10704. 6.OK'
  10705. initial condition: APSTA2
  10706. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  10707. by APM2)
  10708. level: Integration
  10709. module: TCPIP
  10710. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  10711. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10712. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
  10713. 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
  10714. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
  10715. 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
  10716. sub module: UDP
  10717. summary: AP mode, sendto test with different length
  10718. test environment: SSC_T1_1
  10719. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10720. PC has 1 WiFi NIC.
  10721. 1 SSC target connect with PC by UART.'
  10722. test point 1: basic function
  10723. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10724. version: v1 (2016-8-15)
  10725. - CI ready: 'Yes'
  10726. ID: ^TCPIP_UDP_0112
  10727. SDK: '8266_NonOS
  10728. 8266_RTOS
  10729. ESP32_IDF'
  10730. Test App: SSC
  10731. allow fail: ''
  10732. auto test: 'Yes'
  10733. category: Function
  10734. cmd set:
  10735. - ''
  10736. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10737. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10738. - - SSC SSC1 soc -T -s <sock1>
  10739. - ['R SSC1 RE CLOSE:\d+']
  10740. comment: ''
  10741. execution time: 0.0
  10742. expected result: '1.OK
  10743. 2.OK'
  10744. initial condition: APSTA2
  10745. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  10746. by APM2)
  10747. level: Integration
  10748. module: TCPIP
  10749. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10750. 2.关闭socket1'
  10751. sub module: UDP
  10752. summary: AP mode, close UDP sockets test
  10753. test environment: SSC_T1_1
  10754. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10755. PC has 1 WiFi NIC.
  10756. 1 SSC target connect with PC by UART.'
  10757. test point 1: basic function
  10758. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10759. version: v1 (2016-8-15)
  10760. - CI ready: 'Yes'
  10761. ID: ^TCPIP_UDP_0113
  10762. SDK: '8266_NonOS
  10763. 8266_RTOS
  10764. ESP32_IDF'
  10765. Test App: SSC
  10766. allow fail: ''
  10767. auto test: 'Yes'
  10768. category: Function
  10769. cmd set:
  10770. - ''
  10771. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10772. - ['R SSC1 RE BIND:(\d+),OK']
  10773. - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
  10774. - ['R SSC1 RE BIND:(\d+),OK']
  10775. - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
  10776. - ['R SSC1 RE BIND:(\d+),OK']
  10777. - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
  10778. - ['R SSC1 RE BIND:(\d+),OK']
  10779. - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
  10780. - ['R SSC1 RE BIND:(\d+),OK']
  10781. comment: ''
  10782. execution time: 0.0
  10783. expected result: '1.ok
  10784. 2.ok
  10785. 3.ok
  10786. 4.ok
  10787. 5.ok'
  10788. initial condition: APSTA2
  10789. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  10790. by APM2)
  10791. level: Integration
  10792. module: TCPIP
  10793. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10794. 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
  10795. 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
  10796. 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
  10797. 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
  10798. sub module: UDP
  10799. summary: AP mode, create max udp socket test
  10800. test environment: SSC_T1_1
  10801. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10802. PC has 1 WiFi NIC.
  10803. 1 SSC target connect with PC by UART.'
  10804. test point 1: basic function
  10805. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10806. version: v1 (2016-8-15)
  10807. - CI ready: 'Yes'
  10808. ID: ^TCPIP_UDP_0114
  10809. SDK: '8266_NonOS
  10810. 8266_RTOS
  10811. ESP32_IDF'
  10812. Test App: SSC
  10813. allow fail: ''
  10814. auto test: 'Yes'
  10815. category: Function
  10816. cmd set:
  10817. - ''
  10818. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10819. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10820. - - SSC SSC1 soc -I
  10821. - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
  10822. comment: ''
  10823. execution time: 0.0
  10824. expected result: '1.OK
  10825. 2.OK'
  10826. initial condition: APSTA2
  10827. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  10828. by APM2)
  10829. level: Integration
  10830. module: TCPIP
  10831. steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10832. 2.target1上查询创建socket信息'
  10833. sub module: UDP
  10834. summary: AP mode, get active socket info test
  10835. test environment: SSC_T1_1
  10836. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10837. PC has 1 WiFi NIC.
  10838. 1 SSC target connect with PC by UART.'
  10839. test point 1: basic function
  10840. test point 2: use UDP SAP (socket/espconn API) with different parameter
  10841. version: v1 (2016-8-15)
  10842. - CI ready: 'Yes'
  10843. ID: ^TCPIP_UDP_0201
  10844. SDK: '8266_NonOS
  10845. 8266_RTOS
  10846. ESP32_IDF'
  10847. Test App: SSC
  10848. allow fail: ''
  10849. auto test: 'Yes'
  10850. category: Function
  10851. cmd set:
  10852. - ''
  10853. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  10854. - [R SOC_COM L OK]
  10855. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1> -w 0
  10856. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10857. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  10858. - ['']
  10859. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  10860. - ['']
  10861. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  10862. - ['']
  10863. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  10864. - ['']
  10865. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
  10866. - ['']
  10867. comment: ''
  10868. execution time: 0.0
  10869. expected result: '1.OK
  10870. 2.OK
  10871. 3.OK
  10872. 4.PC OK
  10873. 5.PC OK
  10874. 6.PC OK
  10875. 7.PC OK
  10876. 8.PC OK SOC_CLOSE=SOC1'
  10877. initial condition: STAAP2
  10878. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10879. on (autogen by STAM2)
  10880. level: Integration
  10881. module: TCPIP
  10882. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  10883. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10884. 3.target1上关闭工作线程
  10885. 4.PC往8266上发送1472字节数据
  10886. 5.PC往8266上发送1472字节数据
  10887. 6.PC往8266上发送1472字节数据
  10888. 7.PC往8266上发送1472字节数据
  10889. 8.PC往8266上发送1472字节数据'
  10890. sub module: UDP
  10891. summary: STA mode, recv buffer test
  10892. test environment: SSC_T1_1
  10893. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10894. PC has 1 WiFi NIC.
  10895. 1 SSC target connect with PC by UART.'
  10896. test point 1: abnormal/special use
  10897. test point 2: use UDP SAP (socket/espconn API) in different state
  10898. version: v2 (2016-10-19)
  10899. - CI ready: 'Yes'
  10900. ID: ^TCPIP_UDP_0202
  10901. SDK: '8266_NonOS
  10902. 8266_RTOS
  10903. ESP32_IDF'
  10904. Test App: SSC
  10905. allow fail: ''
  10906. auto test: 'Yes'
  10907. category: Function
  10908. cmd set:
  10909. - ''
  10910. - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
  10911. - [R SOC_COM L OK]
  10912. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  10913. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10914. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  10915. - ['']
  10916. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  10917. - ['']
  10918. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  10919. - ['']
  10920. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  10921. - ['']
  10922. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  10923. - ['']
  10924. - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
  10925. - ['']
  10926. comment: ''
  10927. execution time: 0.0
  10928. expected result: '1.OK
  10929. 2.OK
  10930. 3.OK
  10931. 4.PC OK
  10932. 5.PC OK
  10933. 6.PC OK
  10934. 7.PC OK
  10935. 8.PC OK SOC_CLOSE=SOC1'
  10936. initial condition: APSTA2
  10937. initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
  10938. by APM2)
  10939. level: Integration
  10940. module: TCPIP
  10941. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  10942. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10943. 3.target1上关闭工作线程
  10944. 4.PC往8266上发送1472字节数据
  10945. 5.PC往8266上发送1472字节数据
  10946. 6.PC往8266上发送1472字节数据
  10947. 7.PC往8266上发送1472字节数据
  10948. 8.PC往8266上发送1472字节数据'
  10949. sub module: UDP
  10950. summary: AP mode, recv buffer test
  10951. test environment: SSC_T1_1
  10952. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  10953. PC has 1 WiFi NIC.
  10954. 1 SSC target connect with PC by UART.'
  10955. test point 1: abnormal/special use
  10956. test point 2: use UDP SAP (socket/espconn API) in different state
  10957. version: v2 (2016-10-19)
  10958. - CI ready: 'Yes'
  10959. ID: ^TCPIP_UDP_0301
  10960. SDK: '8266_NonOS
  10961. 8266_RTOS
  10962. ESP32_IDF'
  10963. Test App: SSC
  10964. allow fail: 1/5
  10965. auto test: 'Yes'
  10966. category: Function
  10967. cmd set:
  10968. - ''
  10969. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  10970. - [R SOC_COM L OK]
  10971. - - SSC SSC1 soc -B -t UDP -i <target_ip> -p <test_udp_port1>
  10972. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  10973. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  10974. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  10975. - - SSC SSC1 sta -D
  10976. - ['P SSC1 C +QAP:OK']
  10977. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  10978. - ['P SSC1 RE SEND:\d+,ERROR']
  10979. comment: ''
  10980. execution time: 0.0
  10981. expected result: '1.OK
  10982. 2.OK
  10983. 3.OK
  10984. 4.OK
  10985. 5.ERROR'
  10986. initial condition: STAAP2
  10987. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  10988. on (autogen by STAM2)
  10989. level: Integration
  10990. module: TCPIP
  10991. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  10992. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  10993. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
  10994. 4.断开与AP 连接
  10995. 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据'
  10996. sub module: UDP
  10997. summary: do UDP send after WIFI disconnected
  10998. test environment: SSC_T1_1
  10999. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11000. PC has 1 WiFi NIC.
  11001. 1 SSC target connect with PC by UART.'
  11002. test point 1: abnormal/special use
  11003. test point 2: UDP handling abnormal event
  11004. version: v1 (2016-8-15)
  11005. - CI ready: 'Yes'
  11006. ID: ^TCPIP_UDP_0302
  11007. SDK: '8266_NonOS
  11008. 8266_RTOS
  11009. ESP32_IDF'
  11010. Test App: SSC
  11011. allow fail: 1/5
  11012. auto test: 'Yes'
  11013. category: Function
  11014. cmd set:
  11015. - ''
  11016. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  11017. - [R SOC_COM L OK]
  11018. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  11019. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  11020. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  11021. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  11022. - - SSC SSC1 sta -D
  11023. - ['P SSC1 C +QAP:OK']
  11024. - - SSC SSC1 soc -T -s <sock1>
  11025. - ['R SSC1 RE CLOSE:\d+,OK']
  11026. comment: ''
  11027. execution time: 0.0
  11028. expected result: '1.OK
  11029. 2.OK
  11030. 3.OK
  11031. 4.OK
  11032. 5.OK'
  11033. initial condition: STAAP2
  11034. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  11035. on (autogen by STAM2)
  11036. level: Integration
  11037. module: TCPIP
  11038. steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
  11039. 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
  11040. 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
  11041. 4.断开与AP 连接
  11042. 5.关闭建立的socket1连接'
  11043. sub module: UDP
  11044. summary: "close UDP socket after WIFI \ndisconnected"
  11045. test environment: SSC_T1_1
  11046. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11047. PC has 1 WiFi NIC.
  11048. 1 SSC target connect with PC by UART.'
  11049. test point 1: abnormal/special use
  11050. test point 2: UDP handling abnormal event
  11051. version: v1 (2016-8-15)
  11052. - CI ready: 'Yes'
  11053. ID: ^TCPIP_UDP_0303
  11054. SDK: '8266_NonOS
  11055. 8266_RTOS
  11056. ESP32_IDF'
  11057. Test App: SSC
  11058. allow fail: 1/5
  11059. auto test: 'Yes'
  11060. category: Function
  11061. cmd set:
  11062. - ''
  11063. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  11064. - [R SOC_COM L OK]
  11065. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  11066. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  11067. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  11068. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  11069. - - SSC SSC1 op -S -o 2
  11070. - ['P SSC1 C +MODE:OK']
  11071. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  11072. - ['P SSC1 RE SEND:(\d+),OK']
  11073. comment: ''
  11074. execution time: 0.0
  11075. expected result: '1.OK
  11076. 2.OK
  11077. 3.OK
  11078. 4.OK
  11079. 5.ERROR'
  11080. initial condition: STAAP2
  11081. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  11082. on (autogen by STAM2)
  11083. level: Integration
  11084. module: TCPIP
  11085. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  11086. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  11087. 4.修改8266的Mode为softAP mode \n5.8266往PC上发送5字节数据"
  11088. sub module: UDP
  11089. summary: do UDP send after mode changed
  11090. test environment: SSC_T1_1
  11091. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11092. PC has 1 WiFi NIC.
  11093. 1 SSC target connect with PC by UART.'
  11094. test point 1: abnormal/special use
  11095. test point 2: UDP handling abnormal event
  11096. version: v1 (2016-8-15)
  11097. - CI ready: 'Yes'
  11098. ID: ^TCPIP_UDP_0304
  11099. SDK: '8266_NonOS
  11100. 8266_RTOS
  11101. ESP32_IDF'
  11102. Test App: SSC
  11103. allow fail: 1/5
  11104. auto test: 'Yes'
  11105. category: Function
  11106. cmd set:
  11107. - ''
  11108. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  11109. - [R SOC_COM L OK]
  11110. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  11111. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  11112. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  11113. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  11114. - - SSC SSC1 op -S -o 2
  11115. - ['P SSC1 C +MODE:OK']
  11116. - - SSC SSC1 soc -T -s <sock1>
  11117. - ['R SSC1 RE CLOSE:\d+,OK']
  11118. comment: ''
  11119. execution time: 0.0
  11120. expected result: '1.OK
  11121. 2.OK
  11122. 3.OK
  11123. 4.OK
  11124. 5.OK'
  11125. initial condition: STAAP2
  11126. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  11127. on (autogen by STAM2)
  11128. level: Integration
  11129. module: TCPIP
  11130. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  11131. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  11132. 4.修改8266的Mode为softAP mode \n5.关闭建立的socket1连接"
  11133. sub module: UDP
  11134. summary: close UDP socket after mode changed
  11135. test environment: SSC_T1_1
  11136. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11137. PC has 1 WiFi NIC.
  11138. 1 SSC target connect with PC by UART.'
  11139. test point 1: abnormal/special use
  11140. test point 2: UDP handling abnormal event
  11141. version: v1 (2016-8-15)
  11142. - CI ready: 'Yes'
  11143. ID: ^TCPIP_UDP_0305
  11144. SDK: '8266_NonOS
  11145. 8266_RTOS
  11146. ESP32_IDF'
  11147. Test App: SSC
  11148. allow fail: 1/5
  11149. auto test: 'Yes'
  11150. category: Function
  11151. cmd set:
  11152. - ''
  11153. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  11154. - [R SOC_COM L OK]
  11155. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  11156. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  11157. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  11158. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  11159. - - NIC <pc_nic> DISABLED
  11160. - [R PC_COM C OK]
  11161. - - SSC SSC1 soc -T -s <sock1>
  11162. - ['R SSC1 RE CLOSE:\d+,OK']
  11163. comment: ''
  11164. execution time: 0.0
  11165. expected result: '1.OK
  11166. 2.OK
  11167. 3.OK
  11168. 4.OK
  11169. 5.OK'
  11170. initial condition: STAAP2
  11171. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  11172. on (autogen by STAM2)
  11173. level: Integration
  11174. module: TCPIP
  11175. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  11176. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  11177. 4.PC上网卡禁止掉 \n5.关闭建立的socket1连接"
  11178. sub module: UDP
  11179. summary: close UDP socket after PC NIC disabled
  11180. test environment: SSC_T1_1
  11181. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11182. PC has 1 WiFi NIC.
  11183. 1 SSC target connect with PC by UART.'
  11184. test point 1: abnormal/special use
  11185. test point 2: UDP handling abnormal event
  11186. version: v1 (2016-8-15)
  11187. - CI ready: 'Yes'
  11188. ID: ^TCPIP_UDP_0306
  11189. SDK: '8266_NonOS
  11190. 8266_RTOS
  11191. ESP32_IDF'
  11192. Test App: SSC
  11193. allow fail: 1/5
  11194. auto test: 'Yes'
  11195. category: Function
  11196. cmd set:
  11197. - ''
  11198. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  11199. - [R SOC_COM L OK]
  11200. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  11201. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  11202. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  11203. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  11204. - - SSC SSC1 dhcp -E -o 1
  11205. - ['R SSC1 C +DHCP:STA,OK']
  11206. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  11207. - ['P SSC1 C +IP:OK']
  11208. - - SSC SSC1 ip -Q -o 1
  11209. - ['R SSC1 C +STAIP:192.168.111.210']
  11210. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
  11211. - ['P SSC1 RE SEND:\d+,OK']
  11212. comment: ''
  11213. execution time: 0.0
  11214. expected result: '1.OK
  11215. 2.OK
  11216. 3.OK; PC TCP server accept 成功
  11217. 4.OK
  11218. 5.OK
  11219. 6.OK
  11220. 7.OK'
  11221. initial condition: STAAP2
  11222. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  11223. on (autogen by STAM2)
  11224. level: Integration
  11225. module: TCPIP
  11226. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  11227. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  11228. 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
  11229. sub module: UDP
  11230. summary: do UDP send after IP changed
  11231. test environment: SSC_T1_1
  11232. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11233. PC has 1 WiFi NIC.
  11234. 1 SSC target connect with PC by UART.'
  11235. test point 1: abnormal/special use
  11236. test point 2: UDP handling abnormal event
  11237. version: v1 (2016-8-15)
  11238. - CI ready: 'Yes'
  11239. ID: ^TCPIP_UDP_0307
  11240. SDK: '8266_NonOS
  11241. 8266_RTOS
  11242. ESP32_IDF'
  11243. Test App: SSC
  11244. allow fail: 1/5
  11245. auto test: 'Yes'
  11246. category: Function
  11247. cmd set:
  11248. - ''
  11249. - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
  11250. - [R SOC_COM L OK]
  11251. - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
  11252. - ['R SSC1 A <sock1>:BIND:(\d+),OK']
  11253. - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
  11254. - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
  11255. - - SSC SSC1 dhcp -E -o 1
  11256. - ['R SSC1 C +DHCP:STA,OK']
  11257. - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
  11258. - ['P SSC1 C +IP:OK']
  11259. - - SSC SSC1 ip -Q -o 1
  11260. - ['R SSC1 C +STAIP:192.168.111.210']
  11261. - - SSC SSC1 soc -T -s <sock1>
  11262. - ['R SSC1 RE CLOSE:\d+,OK']
  11263. comment: ''
  11264. execution time: 0.0
  11265. expected result: '1.OK
  11266. 2.OK
  11267. 3.OK; PC TCP server accept 成功
  11268. 4.OK
  11269. 5.OK
  11270. 6.OK
  11271. 7.OK'
  11272. initial condition: STAAP2
  11273. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  11274. on (autogen by STAM2)
  11275. level: Integration
  11276. module: TCPIP
  11277. steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
  11278. \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
  11279. 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
  11280. sub module: UDP
  11281. summary: close UDP socket after IP changed
  11282. test environment: SSC_T1_1
  11283. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11284. PC has 1 WiFi NIC.
  11285. 1 SSC target connect with PC by UART.'
  11286. test point 1: abnormal/special use
  11287. test point 2: UDP handling abnormal event
  11288. version: v1 (2016-8-15)
  11289. - CI ready: 'Yes'
  11290. ID: ^WIFI_ADDR_0101
  11291. SDK: '8266_NonOS
  11292. 8266_RTOS
  11293. ESP32_IDF'
  11294. Test App: SSC
  11295. allow fail: ''
  11296. auto test: 'Yes'
  11297. category: Function
  11298. cmd set:
  11299. - ''
  11300. - - SSC SSC1 op -S -o 3
  11301. - ['R SSC1 C +MODE:OK']
  11302. - - SSC SSC1 mac -S -o 1 -m 44:55:66:77:88:99
  11303. - ['R SSC1 C +MAC:STA,OK']
  11304. - - SSC SSC1 mac -S -o 2 -m 22:33:44:55:66:77
  11305. - ['R SSC1 C +MAC:AP,OK']
  11306. - - SSC SSC1 mac -Q -o 3
  11307. - ['R SSC1 C +STAMAC:44:55:66:77:88:99 C +APMAC:22:33:44:55:66:77']
  11308. - - SSC SSC1 mac -S -o 1 -m <target_mac>
  11309. - ['R SSC1 C +MAC:STA,OK']
  11310. - - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
  11311. - ['R SSC1 C +MAC:AP,OK']
  11312. comment: ''
  11313. execution time: 0.0
  11314. expected result: '1.OK
  11315. 2.ok
  11316. 3.ok
  11317. 4.ok
  11318. 5.ok
  11319. 6.ok'
  11320. initial condition: T2_2
  11321. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11322. level: Integration
  11323. module: WIFI MAC
  11324. steps: "1.target1 设置mode 为sta+softAP mode\n2.target1 设置sta mode 下的mac \n3.target1\
  11325. \ 设置softAP mode 下的mac\n4.target1 查询softAP+sta 下的mac\n5.target1 设置sta mode 下的mac\
  11326. \ 为target1_mac\n6.target1 设置softAP mode 下的mac 为target1_ap_mac"
  11327. sub module: MAC Address
  11328. summary: set mac, query mac
  11329. test environment: SSC_T2_1
  11330. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11331. PC has 1 WiFi NIC.
  11332. 2 SSC target connect with PC by UART.'
  11333. test point 1: basic function
  11334. test point 2: mac address function test
  11335. version: v1 (2016-8-15)
  11336. - CI ready: 'Yes'
  11337. ID: ^WIFI_ADDR_0102
  11338. SDK: '8266_NonOS
  11339. 8266_RTOS
  11340. ESP32_IDF'
  11341. Test App: SSC
  11342. allow fail: ''
  11343. auto test: 'Yes'
  11344. category: Function
  11345. cmd set:
  11346. - ''
  11347. - - SSC SSC1 mac -S -o 2 -m 44:55:66:77:88:99
  11348. - ['R SSC1 C +MAC:AP,OK']
  11349. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  11350. - ['']
  11351. - - SSC SSC2 sta -S -b 44:55:66:77:88:99
  11352. - ['R SSC2 RE \+SCAN:.+,44:55:66:77:88:99,']
  11353. - - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
  11354. - ['R SSC1 C +MAC:AP,OK']
  11355. - - SSC SSC2 mac -Q -o 1
  11356. - ['R SSC2 A <target2_mac_tmp>:\+STAMAC:(.+)\r\n']
  11357. - - SSC SSC2 mac -S -o 1 -m 22:33:44:55:66:77
  11358. - ['R SSC2 C +MAC:STA,OK']
  11359. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11360. - ['P SSC2 C +JAP:CONNECTED']
  11361. - - SSC SSC1 ap -L
  11362. - ['R SSC1 C +LSTA:22:33:44:55:66:77']
  11363. - - SSC SSC2 mac -S -o 1 -m <target2_mac>
  11364. - ['R SSC2 C +MAC:STA,OK']
  11365. comment: ''
  11366. execution time: 0.0
  11367. expected result: '1.OK
  11368. 2.ok
  11369. 3.ok
  11370. 4.ok
  11371. 5.ok
  11372. 6.ok
  11373. 7.ok
  11374. 8.ok
  11375. 9.ok'
  11376. initial condition: T2_2
  11377. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11378. level: Integration
  11379. module: WIFI MAC
  11380. steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n\
  11381. 3.target2 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n\
  11382. 5.target2 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n\
  11383. 7.target2 jap target1\n8.target1 查询连接到的sta \n9.target2 设置sta mode 下的mac 为 target2_mac"
  11384. sub module: MAC Address
  11385. summary: set mac and do scan/JAP/SAP
  11386. test environment: SSC_T2_1
  11387. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11388. PC has 1 WiFi NIC.
  11389. 2 SSC target connect with PC by UART.'
  11390. test point 1: basic function
  11391. test point 2: mac address function test
  11392. version: v1 (2016-8-15)
  11393. - CI ready: 'Yes'
  11394. ID: ^WIFI_CONN_0101
  11395. SDK: '8266_NonOS
  11396. 8266_RTOS
  11397. ESP32_IDF'
  11398. Test App: SSC
  11399. allow fail: ''
  11400. auto test: 'Yes'
  11401. category: Function
  11402. cmd set:
  11403. - ''
  11404. - - SSC SSC1 ap -S -s <target_ssid> -t 0
  11405. - ['R SSC1 C +SAP:OK']
  11406. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11407. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  11408. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 2
  11409. - ['R SSC1 C +SAP:OK']
  11410. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11411. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  11412. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  11413. - ['R SSC1 C +SAP:OK']
  11414. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11415. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  11416. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 4
  11417. - ['R SSC1 C +SAP:OK']
  11418. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11419. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  11420. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 1
  11421. - ['R SSC1 C +SAP:OK']
  11422. - - SSC SSC2 sta -S
  11423. - ['R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>)']
  11424. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t 5
  11425. - ['R SSC1 C +SAP:OK']
  11426. - - SSC SSC2 sta -S
  11427. - ['R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%(<target_ssid>)']
  11428. comment: ''
  11429. execution time: 0.0
  11430. expected result: "1.target1 set AP,open, \n2.target 2 jap succeed\n3.target1 set\
  11431. \ AP,wpa_psk \n4.target 2 jap succeed\n5.target1 set AP, wpa2_psk \n6.target 2\
  11432. \ jap succeed\n7.target1 set AP,wap_wpa2_psk\n8.target 2 jap succeed\n9.target1\
  11433. \ set AP,加密方式为t 1\n10.target 2 上查询到target_ssid\n11.target1 set AP,加密方式为t 5\n12.target\
  11434. \ 2 上查询到target_ssid"
  11435. initial condition: T2_2
  11436. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11437. level: Integration
  11438. module: WIFI MAC
  11439. steps: "1.target1下设置ssid 和pwd,加密方式 open\n2.target2 jap target1\n3.target1下设置ssid\
  11440. \ 和pwd,加密方式 wpa_psk \n4.target2 jap target1\n5.target1下设置ssid 和pwd,加密方式 wpa2_psk\
  11441. \ \n6.target 2 jap target1\n7.target1下设置ssid 和pwd,加密方式 wap_wpa2_psk\n8.target2\
  11442. \ jap target1\n9.target1下设置ssid 和pwd,加密方式 wep \n10.target2上查询target_ssid\n11.target1下设置ssid\
  11443. \ 和pwd,加密方式 t 5 错误的加密方式\n12.target2上查询 target_ssid"
  11444. sub module: WIFI Connect
  11445. summary: station SAP+JAP test, different encryption
  11446. test environment: SSC_T2_1
  11447. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11448. PC has 1 WiFi NIC.
  11449. 2 SSC target connect with PC by UART.'
  11450. test point 1: basic function
  11451. test point 2: SAP/JAP with different config
  11452. version: v1 (2016-8-15)
  11453. - CI ready: 'Yes'
  11454. ID: ^WIFI_CONN_0103
  11455. SDK: '8266_NonOS
  11456. 8266_RTOS
  11457. ESP32_IDF'
  11458. Test App: SSC
  11459. allow fail: ''
  11460. auto test: 'Yes'
  11461. category: Function
  11462. cmd set:
  11463. - ''
  11464. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
  11465. 0
  11466. - ['R SSC1 C +SAP:OK']
  11467. - - SSC SSC2 sta -S -h 0
  11468. - [R SSC2 P <target_ap_mac>, R SSC2 C +SCANDONE]
  11469. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
  11470. 1
  11471. - ['R SSC1 C +SAP:OK']
  11472. - - DELAY 3
  11473. - ['']
  11474. - - SSC SSC2 sta -S -h 0
  11475. - [R SSC2 C +SCANDONE]
  11476. - - DELAY 3
  11477. - ['']
  11478. - - SSC SSC2 sta -S -h 0
  11479. - [R SSC2 NP <target_ap_mac> C +SCANDONE]
  11480. comment: ''
  11481. execution time: 0.0
  11482. expected result: '1.target1 set AP,set ssid broad cast
  11483. 2.target 2上scan target_ap_mac
  11484. 3.target1 set AP,set ssid hidden,
  11485. 4.target 2上不能scan target_ap_mac'
  11486. initial condition: T2_2
  11487. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11488. level: Integration
  11489. module: WIFI MAC
  11490. steps: '1. target1下设置ssid 和pwd 加密方式,set ssid broad cast
  11491. 2.target 2上scan target_ap_mac
  11492. 3. target1下设置ssid 和pwd 加密方式,set ssid hidden,
  11493. 4.target 2上scan target_ap_mac'
  11494. sub module: WIFI Connect
  11495. summary: station SAP+JAP test, ssid hidden
  11496. test environment: SSC_T2_1
  11497. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11498. PC has 1 WiFi NIC.
  11499. 2 SSC target connect with PC by UART.'
  11500. test point 1: basic function
  11501. test point 2: SAP/JAP with different config
  11502. version: v1 (2016-8-15)
  11503. - CI ready: 'Yes'
  11504. ID: ^WIFI_CONN_0104
  11505. SDK: '8266_NonOS
  11506. 8266_RTOS
  11507. ESP32_IDF'
  11508. Test App: SSC
  11509. allow fail: ''
  11510. auto test: 'Yes'
  11511. category: Function
  11512. cmd set:
  11513. - ''
  11514. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -m
  11515. 1
  11516. - ['R SSC1 C +SAP:OK']
  11517. - - WIFI <pc_wifi_nic> DISCONN
  11518. - ['R PC_COM C +WIFIDISCONN:OK']
  11519. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11520. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  11521. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  11522. <target_encryption>
  11523. - ['R PC_COM C +WIFICONN:ERROR']
  11524. comment: ''
  11525. execution time: 0.0
  11526. expected result: '1. target1 set AP,set max allowed sta as 1
  11527. 2. use PC disconnect,
  11528. 3.target 2 jap succeed
  11529. 4.PC WIFI can not CONN'
  11530. initial condition: T2_2
  11531. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11532. level: Integration
  11533. module: WIFI MAC
  11534. steps: '1.target1下设置ssid 和pwd 加密方式,set max allowed sta as 1
  11535. 2.use PC disconnect target1
  11536. 3.target 2 jap target1
  11537. 4.PC WIFI CONNECT target1'
  11538. sub module: WIFI Connect
  11539. summary: station SAP test, max allowed sta
  11540. test environment: SSC_T2_1
  11541. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11542. PC has 1 WiFi NIC.
  11543. 2 SSC target connect with PC by UART.'
  11544. test point 1: basic function
  11545. test point 2: SAP/JAP with different config
  11546. version: v1 (2016-8-15)
  11547. - CI ready: 'Yes'
  11548. ID: ^WIFI_CONN_0201
  11549. SDK: '8266_NonOS
  11550. 8266_RTOS
  11551. ESP32_IDF'
  11552. Test App: SSC
  11553. allow fail: ''
  11554. auto test: 'Yes'
  11555. category: Function
  11556. cmd set:
  11557. - ''
  11558. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  11559. - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
  11560. - - SSC SSC1 sta -Q
  11561. - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
  11562. - - SSC SSC1 sta -D
  11563. - ['R SSC1 C +QAP:OK']
  11564. - - SSC SSC1 sta -Q
  11565. - ['R SSC1 C +JAP:DISCONNECTED']
  11566. comment: ''
  11567. execution time: 0.0
  11568. expected result: '1.target1 jion AP 成功
  11569. 2.查询JAP的状态
  11570. 3.target1 断开AP
  11571. 4.查询target1 JAP 是DISCONN'
  11572. initial condition: STAAP1
  11573. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  11574. by STAM1)
  11575. level: Integration
  11576. module: WIFI MAC
  11577. steps: '1.target1 jion AP 成功
  11578. 2.查询JAP的状态
  11579. 3.target1 断开AP
  11580. 4.查询target1 JAP 是DISCONN'
  11581. sub module: WIFI Connect
  11582. summary: JAP query test
  11583. test environment: SSC_T1_1
  11584. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11585. PC has 1 WiFi NIC.
  11586. 1 SSC target connect with PC by UART.'
  11587. test point 1: basic function
  11588. test point 2: query JAP status
  11589. version: v1 (2016-8-15)
  11590. - CI ready: 'Yes'
  11591. ID: ^WIFI_CONN_0301
  11592. SDK: '8266_NonOS
  11593. 8266_RTOS
  11594. ESP32_IDF'
  11595. Test App: SSC
  11596. allow fail: ''
  11597. auto test: 'Yes'
  11598. category: Function
  11599. cmd set:
  11600. - ''
  11601. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
  11602. 0 -m 8
  11603. - ['R SSC1 C +SAP:OK']
  11604. - - SSC SSC1 ap -Q
  11605. - ['R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,3,0,8,\d+"%%(<target_ssid>,<target_password>)']
  11606. comment: ''
  11607. execution time: 0.0
  11608. expected result: '1. target1 set AP
  11609. 2.target 1上查询到跟设置AP时一致'
  11610. initial condition: APSTA1
  11611. initial condition description (auto): testing ap on sta + ap mode (autogen by APM1)
  11612. level: Integration
  11613. module: WIFI MAC
  11614. steps: '1. target1 set AP
  11615. 2.target 1上查询到跟设置AP时一致'
  11616. sub module: WIFI Connect
  11617. summary: AP config query test
  11618. test environment: SSC_T1_1
  11619. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11620. PC has 1 WiFi NIC.
  11621. 1 SSC target connect with PC by UART.'
  11622. test point 1: basic function
  11623. test point 2: query AP config
  11624. version: v1 (2016-8-15)
  11625. - CI ready: 'Yes'
  11626. ID: ^WIFI_CONN_0401
  11627. SDK: '8266_NonOS
  11628. 8266_RTOS
  11629. ESP32_IDF'
  11630. Test App: SSC
  11631. allow fail: ''
  11632. auto test: 'Yes'
  11633. category: Function
  11634. cmd set:
  11635. - ''
  11636. - - SSC SSC1 sta -R -a 0
  11637. - ['R SSC1 C +AUTORECONN:OK']
  11638. - - SSC SSC1 sta -R -a 2
  11639. - ['R SSC1 C +AUTORECONN:0']
  11640. - - SSC SSC1 reboot
  11641. - ['']
  11642. - - DELAY 15
  11643. - ['']
  11644. - - SSC SSC1 sta -Q
  11645. - ['R SSC1 C JAP:DISCONNECTED']
  11646. - - SSC SSC1 sta -R -a 1
  11647. - ['R SSC1 C +AUTORECONN:OK']
  11648. - - SSC SSC1 sta -R -a 2
  11649. - ['R SSC1 C +AUTORECONN:1']
  11650. - - SSC SSC1 reboot
  11651. - ['R SSC1 C +JAP:CONNECTED']
  11652. comment: ''
  11653. execution time: 0.0
  11654. expected result: '1.设置autoreconn,关闭
  11655. 2.查询当前autoreconn状态是否关闭
  11656. 3.重启系统,等待15s
  11657. 4.查询target1 未自动重连AP
  11658. 5.设置autoreconn,开启
  11659. 6.查询当前autoreconn状态是否开启
  11660. 7.系统重启后target1 自动重连AP'
  11661. initial condition: STAAP2
  11662. initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
  11663. on (autogen by STAM2)
  11664. level: Integration
  11665. module: WIFI MAC
  11666. steps: '1.设置autoreconn,关闭
  11667. 2.查询当前autoreconn状态是否关闭
  11668. 3.重启系统,等待15s
  11669. 4.查询target1 未自动重连AP
  11670. 5.设置autoreconn,开启
  11671. 6.查询当前autoreconn状态是否开启
  11672. 7.系统重启后target1 自动重连AP'
  11673. sub module: WIFI Connect
  11674. summary: auto reconnect test
  11675. test environment: SSC_T1_1
  11676. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11677. PC has 1 WiFi NIC.
  11678. 1 SSC target connect with PC by UART.'
  11679. test point 1: basic function
  11680. test point 2: power on auto reconnect test
  11681. version: v1 (2016-8-15)
  11682. - CI ready: 'Yes'
  11683. ID: ^WIFI_CONN_0501
  11684. SDK: '8266_NonOS
  11685. 8266_RTOS
  11686. ESP32_IDF'
  11687. Test App: SSC
  11688. allow fail: ''
  11689. auto test: 'Yes'
  11690. category: Function
  11691. cmd set:
  11692. - ''
  11693. - - SSC SSC2 sta -R -r 1
  11694. - ['R SSC2 C +RECONN:OK']
  11695. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  11696. - ['R SSC1 C +SAP:OK']
  11697. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11698. - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
  11699. - - SSC SSC1 op -S -o 1
  11700. - ['R SSC1 C +MODE:OK']
  11701. - - DELAY 10
  11702. - ['']
  11703. - - SSC SSC1 op -S -o 2
  11704. - ['R SSC1 C +MODE:OK']
  11705. - - DELAY 15
  11706. - ['R SSC2 C +JAP:CONNECTED']
  11707. - - SSC SSC2 sta -R -r 0
  11708. - ['R SSC2 C +RECONN:OK']
  11709. - - SSC SSC2 sta -R -r 2
  11710. - ['R SSC2 C +RECONN:0']
  11711. - - SSC SSC1 op -S -o 1
  11712. - ['R SSC1 C +MODE:OK']
  11713. - - DELAY 10
  11714. - ['']
  11715. - - SSC SSC1 op -S -o 2
  11716. - ['R SSC1 C +MODE:OK']
  11717. - - DELAY 15
  11718. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  11719. - - SSC SSC2 sta -R -r 1
  11720. - ['R SSC2 C +RECONN:OK']
  11721. comment: ''
  11722. execution time: 0.0
  11723. expected result: '1.设置reconn,开启(此功能不需要重启系统)
  11724. 2.target1 set AP
  11725. 3.target2 JAP target1 成功
  11726. 4.target2 断开target1 连接
  11727. 5.等待10s,target2 自动重连target1
  11728. 6.成功
  11729. 7.查询reconn状态,关闭
  11730. 8.修改mode 成功
  11731. 9.等待15s,target2 不会自动重连target1'
  11732. initial condition: T2_2
  11733. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11734. level: Integration
  11735. module: WIFI MAC
  11736. steps: "1.设置reconn,开启(此功能不需要重启系统)\n2.target1下设置ssid 和pwd 加密方式\n3.target2 JAP target1\
  11737. \ \n4.target1 修改mode 为sta mode\n5.等待10s,target1 修改mode 为softAP mode\n6.设置reconn,关闭\n\
  11738. 7.查询reconn状态,关闭\n8.target1 修改mode 为sta mode\n9.等待15s,target1 修改mode 为softAP mode"
  11739. sub module: WIFI Connect
  11740. summary: reconnect policy test
  11741. test environment: SSC_T2_1
  11742. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11743. PC has 1 WiFi NIC.
  11744. 2 SSC target connect with PC by UART.'
  11745. test point 1: basic function
  11746. test point 2: reconnect policy test
  11747. version: v1 (2016-8-15)
  11748. - CI ready: 'Yes'
  11749. ID: ^WIFI_CONN_0502
  11750. SDK: '8266_NonOS
  11751. 8266_RTOS
  11752. ESP32_IDF'
  11753. Test App: SSC
  11754. allow fail: ''
  11755. auto test: 'Yes'
  11756. category: Function
  11757. cmd set:
  11758. - ''
  11759. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  11760. - ['R SSC1 C +SAP:OK']
  11761. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11762. - ['R SSC2 C +JAP:CONNECTED']
  11763. - - SSC SSC2 sta -R -r 1
  11764. - ['R SSC2 C +RECONN:OK']
  11765. - - SSC SSC1 op -S -o 1
  11766. - ['R SSC1 C +MODE:OK']
  11767. - - DELAY 5
  11768. - ['R SSC2 C +JAP:DISCONNECTED']
  11769. - - SSC SSC1 op -S -o 2
  11770. - ['R SSC1 C +MODE:OK']
  11771. - - DELAY 10
  11772. - ['R SSC2 C +JAP:CONNECTED']
  11773. - - SSC SSC2 sta -D
  11774. - ['R SSC2 C +QAP:OK']
  11775. - - DELAY 10
  11776. - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
  11777. comment: ''
  11778. execution time: 0.0
  11779. expected result: '1.target1 set AP
  11780. 2.target2 jap target 1
  11781. 3.设置reconn,开启(此功能不需要重启系统)
  11782. 4.target2 断开target1 连接
  11783. 5.等待10s,target2 自动重连target1
  11784. 6.target2 断开target1 连接'
  11785. initial condition: T2_2
  11786. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11787. level: Integration
  11788. module: WIFI MAC
  11789. steps: '1.target1下设置ssid 和pwd 加密方式
  11790. 2.target2 jap target 1
  11791. 3.设置reconn,开启(此功能不需要重启系统)
  11792. 4.target2 断开target1 连接
  11793. 5.等待10s,target2 自动重连target1
  11794. 6.target2 断开target1 连接'
  11795. sub module: WIFI Connect
  11796. summary: will not do reconnect after manually disconnected
  11797. test environment: SSC_T2_1
  11798. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11799. PC has 1 WiFi NIC.
  11800. 2 SSC target connect with PC by UART.'
  11801. test point 1: abnormal/special use
  11802. test point 2: reconnect policy test
  11803. version: v1 (2016-8-15)
  11804. - CI ready: 'Yes'
  11805. ID: ^WIFI_CONN_0601
  11806. SDK: '8266_NonOS
  11807. 8266_RTOS
  11808. ESP32_IDF'
  11809. Test App: SSC
  11810. allow fail: ''
  11811. auto test: 'Yes'
  11812. category: Function
  11813. cmd set:
  11814. - ''
  11815. - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
  11816. - ['R SSC1 C +SAP:OK']
  11817. - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
  11818. <target_encryption>
  11819. - ['R PC_COM C +WIFICONN:OK']
  11820. - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
  11821. - ['R SSC2 C +JAP:CONNECTED']
  11822. - - SSC SSC1 ap -L
  11823. - ['R SSC1 C +LSTA:', 'R SSC1 C +LSTA:', R SSC1 C +LSTADONE]
  11824. comment: ''
  11825. execution time: 0.0
  11826. expected result: '1.target1 set AP
  11827. 2.PC WIFI CONNECTED
  11828. 3.target2 jap target 1
  11829. 4.查询到两个sta 连接到target1 上'
  11830. initial condition: T2_2
  11831. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11832. level: Integration
  11833. module: WIFI MAC
  11834. steps: '1. target1下设置ssid 和pwd 加密方式
  11835. 2.PC WIFI CONNECTED target1
  11836. 3.target2 jap target 1
  11837. 4.查询到两个sta 连接到target1 上'
  11838. sub module: WIFI Connect
  11839. summary: list stations connected to soft ap test
  11840. test environment: SSC_T2_1
  11841. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11842. PC has 1 WiFi NIC.
  11843. 2 SSC target connect with PC by UART.'
  11844. test point 1: basic function
  11845. test point 2: list SoftAP connected station
  11846. version: v1 (2016-8-15)
  11847. - CI ready: 'Yes'
  11848. ID: ^WIFI_CONN_0801
  11849. SDK: '8266_NonOS
  11850. 8266_RTOS
  11851. ESP32_IDF'
  11852. Test App: SSC
  11853. allow fail: ''
  11854. auto test: 'Yes'
  11855. category: Function
  11856. cmd set:
  11857. - ''
  11858. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
  11859. - ['R SSC1 C +SAP:OK']
  11860. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  11861. - ['R SSC2 C +JAP:CONNECTED']
  11862. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 2
  11863. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,2,0']
  11864. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3
  11865. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,3,2']
  11866. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
  11867. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,4,3']
  11868. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
  11869. - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,0,4']
  11870. comment: ''
  11871. execution time: 0.0
  11872. expected result: '1. succeed
  11873. 2. succeed
  11874. 3. auth change event old mode 0 new mode 2
  11875. 4. auth change event old mode 2 new mode 3
  11876. 5. auth change event old mode 3 new mode 4
  11877. 6. auth change event old mode 4 new mode 0'
  11878. initial condition: T2_2
  11879. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  11880. level: Integration
  11881. module: WIFI MAC
  11882. steps: '1. set target1 softap auth mode 0
  11883. 2. target2 connect to target1
  11884. 3. set target1 softap auth mode 2, wait sta connected
  11885. 4. set target1 softap auth mode 3, wait sta connected
  11886. 5. set target1 softap auth mode 4, wait sta connected
  11887. 6. set target1 softap auth mode 0, wait sta connected'
  11888. sub module: WIFI Connect
  11889. summary: test auth change event
  11890. test environment: SSC_T2_1
  11891. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  11892. PC has 1 WiFi NIC.
  11893. 2 SSC target connect with PC by UART.'
  11894. test point 1: basic function
  11895. test point 2: wifi auth changed event test
  11896. version: v1 (2016-8-15)
  11897. - CI ready: 'Yes'
  11898. ID: ^WIFI_CONN_0901
  11899. SDK: '8266_NonOS
  11900. 8266_RTOS
  11901. ESP32_IDF'
  11902. Test App: basic function
  11903. allow fail: ''
  11904. auto test: 'Yes'
  11905. category: Function
  11906. cmd set:
  11907. - ''
  11908. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  11909. - ['R SSC1 C +JAP:CONNECTED']
  11910. - - SSC SSC1 sta -D
  11911. - ['R SSC1 RE JAP:DISCONNECTED,\d+,8']
  11912. - - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
  11913. - ['R SSC1 RE JAP:DISCONNECTED,\d+,15']
  11914. - - SSC SSC1 sta -C -s <random_string> -p <ap_password>
  11915. - ['R SSC1 RE JAP:DISCONNECTED,\d+,201']
  11916. comment: ''
  11917. execution time: 0.0
  11918. expected result: '1. disconnect event reason REASON_ASSOC_LEAVE
  11919. 2. disconnect event reason REASON_4WAY_HANDSHAKE_TIMEOUT
  11920. 3. disconnect event reason REASON_NO_AP_FOUND'
  11921. initial condition: STAAP1
  11922. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  11923. by STAM1)
  11924. level: Integration
  11925. module: WIFI MAC
  11926. steps: '1. sta connect to AP, and disconnect
  11927. 2. connect to AP with wrong password
  11928. 3. connect to AP not exist'
  11929. sub module: WIFI Connect
  11930. summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_4WAY_HANDSHAKE_TIMEOUT,
  11931. REASON_NO_AP_FOUND
  11932. test environment: SSC_T1_1
  11933. test environment description (auto): 'PC has 2 wired NIC connected to AP.
  11934. PC has 1 WiFi NIC.
  11935. 1 SSC target connect with PC by UART.'
  11936. test point 1: basic function
  11937. test point 2: wifi disconnect reason test
  11938. version: v1 (2016-8-15)
  11939. - CI ready: 'Yes'
  11940. ID: ^WIFI_CONN_0902
  11941. SDK: '8266_NonOS
  11942. 8266_RTOS
  11943. ESP32_IDF'
  11944. Test App: SSC
  11945. allow fail: ''
  11946. auto test: 'Yes'
  11947. category: Function
  11948. cmd set:
  11949. - ''
  11950. - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
  11951. - ['R SSC1 C +JAP:CONNECTED']
  11952. - - APC <APC1> OFF <ap_apc>
  11953. - [P PC_COM L OK, 'R SSC1 RE JAP:DISCONNECTED,\d+,200']
  11954. - - APC <APC1> ON <ap_apc>
  11955. - [P PC_COM L OK]
  11956. comment: ''
  11957. execution time: 0.0
  11958. expected result: '1. succeed
  11959. 2. disconnect event REASON_BEACON_TIMEOUT'
  11960. initial condition: STAAP1
  11961. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  11962. by STAM1)
  11963. level: Integration
  11964. module: WIFI MAC
  11965. steps: '1. connect to AP
  11966. 2. AP power off'
  11967. sub module: WIFI Connect
  11968. summary: test wifi disconnect reason REASON_BEACON_TIMEOUT
  11969. test environment: SSC_T1_APC
  11970. test environment description (auto): "PC has 1 wired NIC connected to AP.\nPC has\
  11971. \ 1 wired NIC connected to APC (static IP within the same subnet with APC). \n\
  11972. APC control AP power supply. \nPC has 1 WiFi NIC. \n1 SSC target connect with\
  11973. \ PC by UART."
  11974. test point 1: basic function
  11975. test point 2: wifi disconnect reason test
  11976. version: v1 (2016-8-15)
  11977. - CI ready: 'Yes'
  11978. ID: ^WIFI_CONN_0903
  11979. SDK: '8266_NonOS
  11980. 8266_RTOS
  11981. ESP32_IDF'
  11982. Test App: SSC
  11983. allow fail: ''
  11984. auto test: 'Yes'
  11985. category: Function
  11986. cmd set:
  11987. - ''
  11988. - - SSC SSC1 sta -C -s <wep_ap_ssid> -p bacfd
  11989. - ['R SSC1 RE JAP:DISCONNECTED,\d+,2']
  11990. comment: ''
  11991. execution time: 0.0
  11992. expected result: 1. disconect event reason REASON_AUTH_EXPIRE
  11993. initial condition: STAAP1
  11994. initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
  11995. by STAM1)
  11996. level: Integration
  11997. module: WIFI MAC
  11998. steps: 1. connect WEP ap with error password (valid wep password)
  11999. sub module: WIFI Connect
  12000. summary: test wifi disconnect reason REASON_AUTH_EXPIRE
  12001. test environment: SSC_T1_WEP
  12002. test environment description (auto): '1 SSC target connect with PC by UART.
  12003. One WEP share key AP placed near SSC1.'
  12004. test point 1: basic function
  12005. test point 2: wifi disconnect reason test
  12006. version: v1 (2016-8-15)
  12007. - CI ready: 'Yes'
  12008. ID: ^WIFI_CONN_0904
  12009. SDK: '8266_NonOS
  12010. 8266_RTOS
  12011. ESP32_IDF'
  12012. Test App: SSC
  12013. allow fail: ''
  12014. auto test: 'Yes'
  12015. category: Function
  12016. cmd set:
  12017. - ''
  12018. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
  12019. - ['R SSC1 C +SAP:OK']
  12020. - - SSC SSC2 sta -C -s <random_string> -p 1234567890
  12021. - ['R SSC2 RE JAP:DISCONNECTED,\d+,204']
  12022. - - SSC SSC2 sta -D
  12023. - ['R SSC2 C +QAP:OK']
  12024. - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> <pc_ip_wifi>
  12025. - ['R PC_COM NC ERROR C +WIFICONN:OK']
  12026. - - SSC SSC2 sta -C -s <random_string> -p <random_string>
  12027. - ['R SSC2 RE JAP:DISCONNECTED,\d+,5']
  12028. - - WIFI <pc_wifi_nic> DISCONN
  12029. - [P PC_COM C OK, 'R SSC2 C +JAP:CONNECTED']
  12030. - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
  12031. - ['P SSC1 C +SAP:OK', 'P SSC2 RE JAP:DISCONNECTED,\d+,4']
  12032. comment: ''
  12033. execution time: 0.0
  12034. expected result: '1. succeed
  12035. 2. disconnect event REASON_HANDSHAKE_TIMEOUT
  12036. 3. succeed
  12037. 4. succeed
  12038. 5. disconnect event REASON_ASSOC_TOOMANY
  12039. 6. succeed, target2 connect succeed
  12040. 7. disconnect event REASON_ASSOC_EXPIRE'
  12041. initial condition: T2_2
  12042. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  12043. level: Integration
  12044. module: WIFI MAC
  12045. steps: '1. config target1 softap max sta allowed 1
  12046. 2. target2 connect to target1 with wrong password
  12047. 3. target2 disconnect
  12048. 4. PC WIFI NIC connect to target1
  12049. 5. target2 connect to target1 with correct password
  12050. 6. PC WIFI NIC disconnect
  12051. 7. reconfig softap'
  12052. sub module: WIFI Connect
  12053. summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT,
  12054. REASON_ASSOC_EXPIRE
  12055. test environment: SSC_T2_1
  12056. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  12057. PC has 1 WiFi NIC.
  12058. 2 SSC target connect with PC by UART.'
  12059. test point 1: basic function
  12060. test point 2: wifi disconnect reason test
  12061. version: v1 (2016-8-15)
  12062. - CI ready: 'Yes'
  12063. ID: ^WIFI_SCAN_0101
  12064. SDK: '8266_NonOS
  12065. 8266_RTOS
  12066. ESP32_IDF'
  12067. Test App: SSC
  12068. allow fail: ''
  12069. auto test: 'Yes'
  12070. category: Function
  12071. cmd set:
  12072. - ''
  12073. - - SSC SSC2 sta -S -s .,juhg123
  12074. - ['R SSC2 NC +SCAN: C +SCANDONE']
  12075. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3
  12076. - ['R SSC1 C +SAP:OK']
  12077. - - SSC SSC2 sta -S -s <target_tmp_ssid>
  12078. - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>, 'R SSC2 NC +SCAN: C +SCANDONE']
  12079. comment: ''
  12080. execution time: 0.0
  12081. expected result: '1.target 2上不能scan .,juhg123
  12082. 2.target1 set AP
  12083. 3.target2上查询到<target_tmp_ssid>'
  12084. initial condition: T2_2
  12085. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  12086. level: Integration
  12087. module: WIFI MAC
  12088. steps: '1.target 2 scan .,juhg123
  12089. 2.target1下设置ssid 和pwd 加密方式
  12090. 3.target2 scan <target_tmp_ssid>'
  12091. sub module: WIFI Scan
  12092. summary: scan with scan config ssid
  12093. test environment: SSC_T2_1
  12094. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  12095. PC has 1 WiFi NIC.
  12096. 2 SSC target connect with PC by UART.'
  12097. test point 1: basic function
  12098. test point 2: scan with different config
  12099. version: v1 (2016-8-15)
  12100. - CI ready: 'Yes'
  12101. ID: ^WIFI_SCAN_0102
  12102. SDK: '8266_NonOS
  12103. 8266_RTOS
  12104. ESP32_IDF'
  12105. Test App: SSC
  12106. allow fail: ''
  12107. auto test: 'Yes'
  12108. category: Function
  12109. cmd set:
  12110. - ''
  12111. - - SSC SSC2 sta -S -b ff:ff:ff:ff:ff:11
  12112. - ['R SSC2 NC +SCAN: C +SCANDONE']
  12113. - - SSC SSC2 sta -S -b <target_ap_mac>
  12114. - ['R SSC2 RE "\+SCAN:.+,%%s"%%(<target_ap_mac>)', 'R SSC2 NC +SCAN: C +SCANDONE']
  12115. comment: ''
  12116. execution time: 0.0
  12117. expected result: '1.target2 上不能查询到此mac
  12118. 2.target2上查询到<target_ap_mac>'
  12119. initial condition: T2_2
  12120. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  12121. level: Integration
  12122. module: WIFI MAC
  12123. steps: '1.target2 上查询此macff:ff:ff:ff:ff:11
  12124. 2.target2上查询<target_ap_mac>'
  12125. sub module: WIFI Scan
  12126. summary: scan with scan config bssid
  12127. test environment: SSC_T2_1
  12128. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  12129. PC has 1 WiFi NIC.
  12130. 2 SSC target connect with PC by UART.'
  12131. test point 1: basic function
  12132. test point 2: scan with different config
  12133. version: v1 (2016-8-15)
  12134. - CI ready: 'Yes'
  12135. ID: ^WIFI_SCAN_0103
  12136. SDK: '8266_NonOS
  12137. 8266_RTOS
  12138. ESP32_IDF'
  12139. Test App: SSC
  12140. allow fail: ''
  12141. auto test: 'Yes'
  12142. category: Function
  12143. cmd set:
  12144. - ''
  12145. - - SSC SSC1 sta -D
  12146. - ['R SSC1 C +QAP:']
  12147. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -n 6
  12148. - ['R SSC1 C +SAP:OK']
  12149. - - SSC SSC2 sta -S -n 5
  12150. - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
  12151. - - SSC SSC2 sta -S -n 6
  12152. - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>]
  12153. comment: ''
  12154. execution time: 0.0
  12155. expected result: '1.target1 QAP
  12156. 2. target1 set AP,set channel 6
  12157. 3.target2 上scan不到 channel 5
  12158. 4.target2 上查询channel 6的<target_tmp_ssid>'
  12159. initial condition: T2_2
  12160. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  12161. level: Integration
  12162. module: WIFI MAC
  12163. steps: '1.target1 断开连接AP
  12164. 2.target1下设置ssid 和pwd 加密方式,set channel 6
  12165. 3.target2 上scan channel 5
  12166. 4.target2 上查询channel 6的<target_tmp_ssid>'
  12167. sub module: WIFI Scan
  12168. summary: scan with scan config channel
  12169. test environment: SSC_T2_1
  12170. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  12171. PC has 1 WiFi NIC.
  12172. 2 SSC target connect with PC by UART.'
  12173. test point 1: basic function
  12174. test point 2: scan with different config
  12175. version: v1 (2016-8-15)
  12176. - CI ready: 'Yes'
  12177. ID: ^WIFI_SCAN_0104
  12178. SDK: '8266_NonOS
  12179. 8266_RTOS
  12180. ESP32_IDF'
  12181. Test App: SSC
  12182. allow fail: ''
  12183. auto test: 'Yes'
  12184. category: Function
  12185. cmd set:
  12186. - ''
  12187. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0
  12188. - ['R SSC1 C +SAP:OK']
  12189. - - SSC SSC2 sta -S -h 0
  12190. - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
  12191. - - SSC SSC2 sta -S -h 1
  12192. - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
  12193. - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -h 1
  12194. - ['R SSC1 C +SAP:OK']
  12195. - - SSC SSC2 sta -S -h 0
  12196. - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
  12197. - - SSC SSC2 sta -S -h 1
  12198. - [R SSC2 P <target_ap_mac> C +SCANDONE]
  12199. comment: ''
  12200. execution time: 0.0
  12201. expected result: '1.target1 set AP,set ssid broad cast
  12202. 2.target 2上scan <target_tmp_ssid>
  12203. 3.target 2上scan <target_tmp_ssid>
  12204. 4.target1 set AP,set ssid hidden,
  12205. 5.target 2上不能查询到 <target_tmp_ssid>
  12206. 6.target 2上查询到<target_ap_mac>'
  12207. initial condition: T2_2
  12208. initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
  12209. level: Integration
  12210. module: WIFI MAC
  12211. steps: '1.target1下设置ssid 和pwd 加密方式,set ssid broad cast
  12212. 2.target 2上scan <target_tmp_ssid>
  12213. 3.target 2上scan <target_tmp_ssid>
  12214. 4.target1下设置ssid 和pwd 加密方式,set ssid hidden,
  12215. 5.target 2上查询 <target_tmp_ssid>
  12216. 6.target 2上查询<target_ap_mac>'
  12217. sub module: WIFI Scan
  12218. summary: scan with scan config show hidden
  12219. test environment: SSC_T2_1
  12220. test environment description (auto): 'PC has 1 wired NIC connected to AP.
  12221. PC has 1 WiFi NIC.
  12222. 2 SSC target connect with PC by UART.'
  12223. test point 1: basic function
  12224. test point 2: scan with different config
  12225. version: v1 (2016-8-15)