BAS /快速

text
阅读 82 收藏 0 点赞 0 评论 0

rapid steps
* Use PWHO to create a service
* Edit schema in "RDEL", input the service name and ID
* publish to rap3
* run:
```bash
rap3tool -m fetch -s <serviceName>:<serviceID>-<version> -o <output.xsd>
```
bas_client
BUILDING A C++ BAS CLIENT
1. Obtain service id from {RAPS<GO>}
2. Verify that the service is reachable
• Use the basping command from Unix. For example:
basping -l tcp://sundev9:28588 -s 36068-1.0
basping -l tcp://0:28588 -s 36068-1.0 (use localhost)
3. Obtain the schema for service
rapi3tool –m fetch –s <id-major.minor>
4. Generate the message component and create the client using
APIs and the message component
bas_codegen.pl –m cli <schema>.xsd
5. Create the makefile
metamkmk –t other –f <client>.mk
Add –DBAS_NOBBENV to the USER_CPPFLAGS in the makefile
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号