openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* SDR sensor implementation query
@ 2021-06-22 17:21 Jayashree D
  2021-06-24 17:12 ` Jayashree D
  0 siblings, 1 reply; 3+ messages in thread
From: Jayashree D @ 2021-06-22 17:21 UTC (permalink / raw)
  To: openbmc; +Cc: Velumani T-ERS,HCLTech

[-- Attachment #1: Type: text/plain, Size: 2199 bytes --]

Classification: Public
Hi Team,

I am working on SDR sensors, where sensors details can be read from the host and displayed in dbus path.

1.      From entity manager configuration file, "bus" type will be get from the entity manager.

2.      Based on the "bus", we can get the SDR info and record count of the sensor for each bus using IPMB SendRequest.

3.      Also, SDR command for Reservation ID will also be received from Reserve SDR cmd using IPMB SendRequest..

4.      After getting the record count and reservation ID, packet will be framed to get the full information of each sensor like sensor name, type, unit, threshold values, sensor number using IPMB SendRequest..

5.      Then the data will processed and mapped to dbus path.

6.      Again, for next bus it will continue from step 2.

This implementation is based on line by line execution and also from previous output.

It has 4 dbus method call, whether this approach can be implemented in async_method_call() ?

Could you please share your suggestions on this.



Thanks,

Jayashree.

::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________

[-- Attachment #2: Type: text/html, Size: 7705 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: SDR sensor implementation query
  2021-06-22 17:21 SDR sensor implementation query Jayashree D
@ 2021-06-24 17:12 ` Jayashree D
  2021-06-25  4:54   ` Ed Tanous
  0 siblings, 1 reply; 3+ messages in thread
From: Jayashree D @ 2021-06-24 17:12 UTC (permalink / raw)
  To: openbmc; +Cc: Velumani T-ERS,HCLTech

[-- Attachment #1: Type: text/plain, Size: 3509 bytes --]

Classification: Public
Hi Team,

I am working on SDR sensors, where sensors details can be read from the host and displayed in dbus path.

1.      From entity manager configuration file, "bus" type will be get from the entity manager. "Bus" will represents the number of host.

2.      Based on the "bus", we can get the SDR info and record count of the sensor for each bus using IPMB SendRequest.

3.      Also, SDR command for Reservation ID will also be received from Reserve SDR cmd using IPMB SendRequest..

4.      After getting the record count and reservation ID, packet will be framed to get the full information of each sensor like sensor name, type, unit, threshold values, sensor number using IPMB SendRequest..

5.      Then the data will processed and mapped to dbus path.

6.      Again, for next bus it will continue from step 2.

This implementation is based on line by line execution and also from previous output.

It has 4 dbus method call, whether this approach can be implemented in async_method_call() ?

Could you please share your suggestions on this.



Thanks,

Jayashree.

From: Jayashree D
Sent: Tuesday, June 22, 2021 10:51 PM
To: openbmc@lists.ozlabs.org
Cc: Velumani T-ERS,HCLTech <velumanit@hcl.com>
Subject: SDR sensor implementation query

Classification: Public
Hi Team,

I am working on SDR sensors, where sensors details can be read from the host and displayed in dbus path.

1.      From entity manager configuration file, "bus" type will be get from the entity manager.

2.      Based on the "bus", we can get the SDR info and record count of the sensor for each bus using IPMB SendRequest.

3.      Also, SDR command for Reservation ID will also be received from Reserve SDR cmd using IPMB SendRequest..

4.      After getting the record count and reservation ID, packet will be framed to get the full information of each sensor like sensor name, type, unit, threshold values, sensor number using IPMB SendRequest..

5.      Then the data will processed and mapped to dbus path.

6.      Again, for next bus it will continue from step 2.

This implementation is based on line by line execution and also from previous output.

It has 4 dbus method call, whether this approach can be implemented in async_method_call() ?

Could you please share your suggestions on this.



Thanks,

Jayashree.

::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________

[-- Attachment #2: Type: text/html, Size: 13340 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SDR sensor implementation query
  2021-06-24 17:12 ` Jayashree D
@ 2021-06-25  4:54   ` Ed Tanous
  0 siblings, 0 replies; 3+ messages in thread
From: Ed Tanous @ 2021-06-25  4:54 UTC (permalink / raw)
  To: Jayashree D; +Cc: openbmc, Velumani T-ERS, HCLTech

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

On Thu, Jun 24, 2021 at 10:13 AM Jayashree D <jayashree-d@hcl.com> wrote:

> It has 4 dbus method call, whether this approach can be implemented in
> async_method_call() ?
>

Yes, there are significantly more complex flows than this implemented in
other places using async_method_call.


> Could you please share your suggestions on this.
>

My suggestion would be to look around at other code that does this already
and use that as an example to build your code.

[-- Attachment #2: Type: text/html, Size: 1247 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-25  4:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 17:21 SDR sensor implementation query Jayashree D
2021-06-24 17:12 ` Jayashree D
2021-06-25  4:54   ` Ed Tanous

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).