ssscli via accessManager

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ssscli via accessManager

跳至解决方案
1,269 次查看
psvz
Contributor IV

I am trying to establish a channel to SE050ARD-E/RPI over an IP link. In one ssh window I have:

 

# se/accessManager plain
Starting accessManager (Rev.1.1).
  Protect Link between accessManager and SE: NO.
accessManager JRCPv1 (T1oI2C SE side)
******************************************************************************
Server: waiting for connections on port 8040.
Server: only localhost based processes can connect.

 

And in another ssh window:

 

root@raspberrypi:~ # ssscli connect se05x jrcpv1 127.0.0.1:8040 --auth_type PlatformSCP --scpkey /root/simw-top/se050E_scp_keys.txt
root@raspberrypi:~ # ssscli se05x uid
smCom :ERROR:opening failed...
Failed to open the i2c bus: No such file or directory
smCom :INFO :Pass i2c device address in the format <i2c_port>:<i2c_addr(optional. Default 0x48)>.
smCom :INFO :Example ./example /dev/i2c-1:0x48 OR ./example /dev/i2c-1
smCom :ERROR:phPalEse_i2c_open_and_configure Failed retry
smCom :ERROR:I2C init Failed: retval d
smCom :ERROR:phPalEse_Init Failed
smCom :ERROR: Failed to create physical connection with ESE
sss   :ERROR:SM_I2CConnect Failed. Status 7012
WARNING:sss.session:#     Connection parameters:
WARNING:sss.session:#     subsystem       : se05x
WARNING:sss.session:#     connection_type : jrcpv1
WARNING:sss.session:#     connection_data : 127.0.0.1:8040
ERROR:cli.cli:sss_session_open failed. status: FAILED

 

Why does it try use i2c port instead of jrcpv as instructed? What is the right way of doing it?

标签 (1)
0 项奖励
回复
1 解答
1,239 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @psvz ,

 

Yes, the channel between accessManager and SE050 can be secured with SCP03 protocol. Please kindly refer to the following for more details.

The accessManager takes two optional arguments 'plain' & 'any'
'accessManager':
Platform SCP03: ON.
Incoming connection: localhost.
'accessManager plain':
Platform SCP03: OFF.
Incoming connection: localhost.
'accessManager any':
Platform SCP03: ON.
Incoming connection: any supported address.
'accessManager plain any':
Platform SCP03: OFF.
Incoming connection: any supported address.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,250 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @psvz ,

 

So far ssscli is not supported to work with accessManager , the interface option for AM is JRCP_V1_AM, not JRCP_V1/2, please kindly refer to simw-top/doc/demos/se05x/se05x_ConcurrentEcc/readme.html for details regarding clients working with accessManager.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
1,245 次查看
psvz
Contributor IV

Thanks @Kan_Li - I can see in the readme "The user session must be without platform SCP03. Platform SCP03 is handled by the Access Manager."

I understand encryption terminates at the Access Manager, so the host sees cleartext before the Access Manager re-encrypt it with SCP03. Could you please confirm?

0 项奖励
回复
1,240 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @psvz ,

 

Yes, the channel between accessManager and SE050 can be secured with SCP03 protocol. Please kindly refer to the following for more details.

The accessManager takes two optional arguments 'plain' & 'any'
'accessManager':
Platform SCP03: ON.
Incoming connection: localhost.
'accessManager plain':
Platform SCP03: OFF.
Incoming connection: localhost.
'accessManager any':
Platform SCP03: ON.
Incoming connection: any supported address.
'accessManager plain any':
Platform SCP03: OFF.
Incoming connection: any supported address.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复