Solved

Re: physical layer

Posted on 2011-02-12
6
277 Views
Last Modified: 2012-05-11
hi guys. does anyone know how to import physical layer in java
0
Comment
Question by:peterade
  • 3
6 Comments
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34879302
You really can't do anything with the physical layer in Java's native code. Java is so far removed from the physical layer that your question really doesn't make much sense.
To work with the physical layer, you'll need to either write some C code and call it from the Java code or even write some assembly code and reference that from the C code.
What exactly are you trying to do? Maybe there is a better way to get at it.
0
 
LVL 13

Expert Comment

by:George K.
ID: 34879372
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34879498
That is an example of a link layer (which is a step above the physical layer). The link layer is still rather dependent on the hardware, so the code there won't translate well to other platforms.

"The physical layer provides a bit stream interface to the link layer. This layer is very hardware-dependent."

This is why you can't write general physical layer code. It would have to specifically target the exact hardware you are using. You would need entirely different code even on the same machine if you plugged it into a different network. Also, the code would very from machine to machine even running the same OS.
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 35076192
An answer of "It can't be done." is often technically the correct answer. Experts Exchange policy is to accept that kind of answer instead of deleting the question.

It is also EE policy that you should respond to the comments from the experts before deleting a question so we know why you want to delete it. I feel we gave good answers to the question.
0
 

Author Closing Comment

by:peterade
ID: 35093592
Good answer to the question
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
maven archtype selection in eclipse 1 51
sum67 challenge 35 89
post4 challenge 28 83
scoresClump  challenge 31 108
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now